(rootContainerInstance)
| 10870 | var eventsEnabled = null; |
| 10871 | var selectionInformation = null; |
| 10872 | function getRootHostContext(rootContainerInstance) { |
| 10873 | var type; |
| 10874 | var namespace; |
| 10875 | var nodeType = rootContainerInstance.nodeType; |
| 10876 | |
| 10877 | switch (nodeType) { |
| 10878 | case DOCUMENT_NODE: |
| 10879 | case DOCUMENT_FRAGMENT_NODE: |
| 10880 | { |
| 10881 | type = nodeType === DOCUMENT_NODE ? '#document' : '#fragment'; |
| 10882 | var root = rootContainerInstance.documentElement; |
| 10883 | namespace = root ? root.namespaceURI : getChildNamespace(null, ''); |
| 10884 | break; |
| 10885 | } |
| 10886 | |
| 10887 | default: |
| 10888 | { |
| 10889 | var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance; |
| 10890 | var ownNamespace = container.namespaceURI || null; |
| 10891 | type = container.tagName; |
| 10892 | namespace = getChildNamespace(ownNamespace, type); |
| 10893 | break; |
| 10894 | } |
| 10895 | } |
| 10896 | |
| 10897 | { |
| 10898 | var validatedTag = type.toLowerCase(); |
| 10899 | var ancestorInfo = updatedAncestorInfo(null, validatedTag); |
| 10900 | return { |
| 10901 | namespace: namespace, |
| 10902 | ancestorInfo: ancestorInfo |
| 10903 | }; |
| 10904 | } |
| 10905 | } |
| 10906 | function getChildHostContext(parentHostContext, type, rootContainerInstance) { |
| 10907 | { |
| 10908 | var parentHostContextDev = parentHostContext; |
no test coverage detected
searching dependent graphs…