(fiber, nextRootInstance)
| 3951 | rootInstanceStackCursor = createCursor(null), |
| 3952 | hostTransitionProviderCursor = createCursor(null); |
| 3953 | function pushHostContainer(fiber, nextRootInstance) { |
| 3954 | push(rootInstanceStackCursor, nextRootInstance); |
| 3955 | push(contextFiberStackCursor, fiber); |
| 3956 | push(contextStackCursor, null); |
| 3957 | fiber = nextRootInstance.nodeType; |
| 3958 | switch (fiber) { |
| 3959 | case 9: |
| 3960 | case 11: |
| 3961 | nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) |
| 3962 | ? (nextRootInstance = nextRootInstance.namespaceURI) |
| 3963 | ? getOwnHostContext(nextRootInstance) |
| 3964 | : 0 |
| 3965 | : 0; |
| 3966 | break; |
| 3967 | default: |
| 3968 | if ( |
| 3969 | ((fiber = 8 === fiber ? nextRootInstance.parentNode : nextRootInstance), |
| 3970 | (nextRootInstance = fiber.tagName), |
| 3971 | (fiber = fiber.namespaceURI)) |
| 3972 | ) |
| 3973 | (fiber = getOwnHostContext(fiber)), |
| 3974 | (nextRootInstance = getChildHostContextProd(fiber, nextRootInstance)); |
| 3975 | else |
| 3976 | switch (nextRootInstance) { |
| 3977 | case "svg": |
| 3978 | nextRootInstance = 1; |
| 3979 | break; |
| 3980 | case "math": |
| 3981 | nextRootInstance = 2; |
| 3982 | break; |
| 3983 | default: |
| 3984 | nextRootInstance = 0; |
| 3985 | } |
| 3986 | } |
| 3987 | pop(contextStackCursor); |
| 3988 | push(contextStackCursor, nextRootInstance); |
| 3989 | } |
| 3990 | function popHostContainer() { |
| 3991 | pop(contextStackCursor); |
| 3992 | pop(contextFiberStackCursor); |
no test coverage detected
searching dependent graphs…