(rootContainerInstance)
| 7534 | return false; |
| 7535 | } |
| 7536 | function getRootHostContext(rootContainerInstance) { |
| 7537 | var type; |
| 7538 | var namespace; |
| 7539 | var nodeType = rootContainerInstance.nodeType; |
| 7540 | |
| 7541 | switch (nodeType) { |
| 7542 | case DOCUMENT_NODE: |
| 7543 | case DOCUMENT_FRAGMENT_NODE: |
| 7544 | { |
| 7545 | type = nodeType === DOCUMENT_NODE ? '#document' : '#fragment'; |
| 7546 | var root = rootContainerInstance.documentElement; |
| 7547 | namespace = root ? root.namespaceURI : getChildNamespace(null, ''); |
| 7548 | break; |
| 7549 | } |
| 7550 | |
| 7551 | default: |
| 7552 | { |
| 7553 | var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance; |
| 7554 | var ownNamespace = container.namespaceURI || null; |
| 7555 | type = container.tagName; |
| 7556 | namespace = getChildNamespace(ownNamespace, type); |
| 7557 | break; |
| 7558 | } |
| 7559 | } |
| 7560 | |
| 7561 | { |
| 7562 | var validatedTag = type.toLowerCase(); |
| 7563 | var ancestorInfo = updatedAncestorInfo(null, validatedTag); |
| 7564 | return { |
| 7565 | namespace: namespace, |
| 7566 | ancestorInfo: ancestorInfo |
| 7567 | }; |
| 7568 | } |
| 7569 | } |
| 7570 | function getChildHostContext(parentHostContext, type, rootContainerInstance) { |
| 7571 | { |
| 7572 | var parentHostContextDev = parentHostContext; |
no test coverage detected