| OLD | NEW |
| (Empty) |
| 1 xshadow0 is not focusable without tabindex. | |
| 2 PASS document.activeElement.tagName is "BODY" | |
| 3 PASS xshadow0.shadowRoot.activeElement is null | |
| 4 xshadow1 becomes focusable with tabindex. | |
| 5 PASS document.activeElement.id is "xshadow1" | |
| 6 PASS xshadow1.shadowRoot.activeElement is null | |
| 7 on focus(), focusable xshadow2 with tabstop=false delegates focus into its inner
element. | |
| 8 PASS document.activeElement.id is "xshadow2" | |
| 9 PASS xshadow2.shadowRoot.activeElement.id is "one" | |
| 10 if an element within shadow is focused, focusing on shadow host should not slide
focus to its inner element. | |
| 11 PASS document.activeElement.id is "xshadow2" | |
| 12 PASS xshadow2.shadowRoot.activeElement.id is "two" | |
| 13 xshadow2.focus() shouldn't move focus to #one because its inner element is alrea
dy focused. | |
| 14 PASS document.activeElement.id is "xshadow2" | |
| 15 PASS xshadow2.shadowRoot.activeElement.id is "two" | |
| 16 focus() inside shadow DOM should not focus its shadow host, nor the first elemen
t. | |
| 17 PASS document.activeElement.id is "input0" | |
| 18 PASS document.activeElement.id is "input0" | |
| 19 If any element including shadow host is not focusable, focus doesn't change. | |
| 20 PASS document.activeElement.id is "input0" | |
| 21 If no element is focusable within shadow root, but the shadow host is focusable,
then the host gets focus regardless of tabstop attribute value. | |
| 22 PASS document.activeElement.id is "xshadow4" | |
| 23 PASS document.activeElement.id is "xshadow5" | |
| 24 PASS successfullyParsed is true | |
| 25 | |
| 26 TEST COMPLETE | |
| 27 | |
| OLD | NEW |