Selection-getComposedRanges.html

PASSExpected12 of 12 subtests pass402 ms

Details

Test
/selection/shadow-dom/tentative/Selection-getComposedRanges.html
Harness
OK

Subtests

StatusSubtestMessage
PASSgetComposedRanges returns an empty sequence when there is no selection
PASSgetComposedRanges should fail if argument is not a shadow root
PASSgetComposedRanges returns a sequence with a static range when there is a forward-direction selection in the document tree
PASSgetComposedRanges returns a sequence with a static range when there is a backward-direction selection in the document tree
PASSgetComposedRanges returns a sequence with a static range pointing to a shadow tree when there is a selection in the shadow tree and the shadow tree is specified as an argument
PASSgetComposedRanges returns a sequence with a static range pointing to the shadow host when there is a selection in a shadow tree and the shadow tree is not specified as an argument
PASSgetComposedRanges a sequence with a static range pointing to the shadow host when there is a forward selection that crosses shadow boundaries and the shadow tree is not specified as an argument
PASSgetComposedRanges a sequence with a static range that crosses shadow boundaries when there is a forward selection that crosses shadow boundaries and the shadow tree is specified as an argument
PASSgetComposedRanges returns a sequence with a static range pointing to the outer shadow host when there is a selection in an inner shadow tree and no shadow tree is specified as an argument
PASSgetComposedRanges returns a sequence with a static range pointing to the inner shadow tree when there is a selection in an inner shadow tree and the inner shadow tree is specified as an argument
PASSgetComposedRanges returns a sequence with a static range pointing to the outer shadow tree when there is a selection in an inner shadow tree and the outer shadow tree is specified as an argument
PASSgetComposedRanges returns a sequence with a static range without rescoping when there is a selection in an outer shadow tree and the inner shadow tree is specified as an argument