rootNode.html

PASSExpected5 of 5 subtests pass862 ms

Details

Test
/dom/nodes/rootNode.html
Harness
OK

Subtests

StatusSubtestMessage
PASSgetRootNode() must return context object's shadow-including root if options's composed is true, and context object's root otherwise
PASSgetRootNode() must return the context object when it does not have any parent
PASSgetRootNode() must return the parent node of the context object when the context object has a single ancestor not in a document
PASSgetRootNode() must return the document when a node is in document
PASSgetRootNode() must return a document fragment when a node is in the fragment