Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Side by Side Diff: LayoutTests/fast/dom/shadow/focus-method-with-tabstop-expected.txt

Issue 1144953007: Remove tabStop feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698