OLD | NEW |
1 xshadow0 is not focusable without tabindex. | 1 xshadow0 is not focusable without tabindex. |
2 PASS document.activeElement.tagName is "BODY" | 2 PASS document.activeElement.tagName is "BODY" |
3 PASS xshadow0.shadowRoot.activeElement is null | 3 PASS xshadow0.shadowRoot.activeElement is null |
4 xshadow1 becomes focusable with tabindex. | 4 xshadow1 becomes focusable with tabindex. |
5 PASS document.activeElement.id is "xshadow1" | 5 PASS document.activeElement.id is "xshadow1" |
6 PASS xshadow1.shadowRoot.activeElement is null | 6 PASS xshadow1.shadowRoot.activeElement is null |
7 on focus(), focusable xshadow2 with delegatesFocus=true delegates focus into its
inner element. | 7 on focus(), focusable xshadow2 with delegatesFocus=true delegates focus into its
inner element. |
8 PASS document.activeElement.id is "xshadow2" | 8 PASS document.activeElement.id is "xshadow2" |
9 PASS xshadow2.shadowRoot.activeElement.id is "one" | 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. | 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" | 11 PASS document.activeElement.id is "xshadow2" |
12 PASS xshadow2.shadowRoot.activeElement.id is "two" | 12 PASS xshadow2.shadowRoot.activeElement.id is "two" |
13 xshadow2.focus() shouldn't move focus to #one when its inner element is already
focused. | 13 xshadow2.focus() shouldn't move focus to #one when its inner element is already
focused. |
14 PASS document.activeElement.id is "xshadow2" | 14 PASS document.activeElement.id is "xshadow2" |
15 PASS xshadow2.shadowRoot.activeElement.id is "two" | 15 PASS xshadow2.shadowRoot.activeElement.id is "two" |
16 focus() inside shadow DOM should not focus its shadow host, nor focusable siblin
gs. | 16 focus() inside shadow DOM should not focus its shadow host, nor focusable siblin
gs. |
17 PASS document.activeElement.id is "input0" | 17 PASS document.activeElement.id is "input0" |
18 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. | 19 If any element including shadow host is not focusable, focus doesn't change. |
20 PASS document.activeElement.id is "input0" | 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 delegatesFocus. | 21 If no element is focusable within shadow root, but the shadow host is focusable,
then the host gets focus regardless of delegatesFocus. |
22 PASS document.activeElement.id is "xshadow4" | 22 PASS document.activeElement.id is "xshadow4" |
23 PASS document.activeElement.id is "xshadow5" | 23 PASS document.activeElement.id is "xshadow5" |
24 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
25 | 25 |
26 TEST COMPLETE | 26 TEST COMPLETE |
27 | 27 |
OLD | NEW |