Selection-direction.html

PASSExpected7 of 7 subtests pass323 ms

Details

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

Subtests

StatusSubtestMessage
PASSdirection returns "none" when there is no selection
PASSdirection returns "forward" when there is a forward-direction selection in the document tree
PASSdirection returns "backward" when there is a backward-direction selection in the document tree
PASSdirection returns "forward" when there is a forward selection in the shadow tree
PASSdirection returns "backward" when there is a backward selection in the shadow tree
PASSdirection returns "forward" when there is a forward selection that crosses shadow boundaries
PASSdirection returns "backward" when there is a forward selection that crosses shadow boundaries