Source code
Revision control
Copy as Markdown
Other Tools
[Selection-anchor-focus-rescoping.tentative.html]
[Slotted nodes in reverse order, setBaseAndExtent(outerAText, 1, outerBText, 3): anchor is (outerAText, 1), focus is (outerBText, 3)]
expected: FAIL
[Slotted nodes in reverse order, setBaseAndExtent(outerBText, 3, outerAText, 1): anchor is (outerBText, 3), focus is (outerAText, 1)]
expected: FAIL
[Open shadow tree, setBaseAndExtent(openShadowText, 1, openShadowText, 5): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Open shadow tree, setBaseAndExtent(openShadowText, 1, openShadowText, 5): anchor is (body, index of openHost), focus is (body, index of openHost + 1)]
expected: FAIL
[Open shadow tree, setBaseAndExtent(openShadowText, 5, openShadowText, 1): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Open shadow tree, setBaseAndExtent(openShadowText, 5, openShadowText, 1): anchor is (body, index of openHost + 1), focus is (body, index of openHost)]
expected: FAIL
[Closed shadow tree, setBaseAndExtent(closedShadowText, 1, closedShadowText, 5): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Closed shadow tree, setBaseAndExtent(closedShadowText, 1, closedShadowText, 5): anchor is (body, index of closedHost), focus is (body, index of closedHost + 1)]
expected: FAIL
[Nested shadow tree, setBaseAndExtent(innerShadowText, 1, innerShadowText, 5): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Nested shadow tree, setBaseAndExtent(innerShadowText, 1, innerShadowText, 5): anchor is (body, index of outerHost), focus is (body, index of outerHost + 1)]
expected: FAIL
[Nested shadow tree, setBaseAndExtent(innerShadowText, 5, innerShadowText, 1): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Nested shadow tree, setBaseAndExtent(innerShadowText, 5, innerShadowText, 1): anchor is (body, index of outerHost + 1), focus is (body, index of outerHost)]
expected: FAIL
[Outer shadow tree, into a child of the inner host, setBaseAndExtent(outerShadowText, 1, innerAText, 3): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Outer shadow tree, into a child of the inner host, setBaseAndExtent(outerShadowText, 1, innerAText, 3): anchor is (body, index of outerHost), focus is (body, index of outerHost + 1)]
expected: FAIL
[Outer shadow tree, slotted nodes in reverse order, setBaseAndExtent(innerAText, 1, innerBText, 3): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Outer shadow tree, slotted nodes in reverse order, setBaseAndExtent(innerAText, 1, innerBText, 3): anchor is (body, index of outerHost), focus is (body, index of outerHost + 1)]
expected: FAIL
[Outer shadow tree, slotted nodes in reverse order, setBaseAndExtent(innerBText, 3, innerAText, 1): anchorNode and focusNode are rescoped out of the shadow tree]
expected: FAIL
[Outer shadow tree, slotted nodes in reverse order, setBaseAndExtent(innerBText, 3, innerAText, 1): anchor is (body, index of outerHost + 1), focus is (body, index of outerHost)]
expected: FAIL