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

Unified Diff: LayoutTests/fast/dom/shadow/focus-navigation-with-istabstop-expected.txt

Issue 917613004: Add isTabStop attribute to Element (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert status to experimental Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/shadow/focus-navigation-with-istabstop-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/focus-navigation-with-istabstop-expected.txt b/LayoutTests/fast/dom/shadow/focus-navigation-with-istabstop-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e741f92f88e9c3f061bf6a5fb05988f9f3290f4c
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/focus-navigation-with-istabstop-expected.txt
@@ -0,0 +1,96 @@
+This tests TAB focus navigation with isTabStop property on elements
+
+Testing shadow host with possible combinations of tabindex and isTabStop
+Normal tab order without tabindex
+PASS host_div.isTabStop is false
+Should move from input-before to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to input-before in backward
+PASS
+Normal tab order without tabindex but isTabStop=true
+Should move from input-before to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to input-before in backward
+PASS
+Normal tab order with tabindex=0 on host
+PASS host_div.getAttribute("tabindex") is "0"
+PASS host_div.isTabStop is true
+Should move from input-before to host-div in forward
+PASS
+Should move from host-div to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to host-div in backward
+PASS
+Should move from host-div to input-before in backward
+PASS
+Normal tab order with tabindex=0 but isTabStop = false on host
+Should move from input-before to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to input-before in backward
+PASS
+Normal tab order with tabindex=-1 on host
+PASS host_div.getAttribute("tabindex") is "-1"
+PASS host_div.isTabStop is false
+Should move from input-before to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to input-before in backward
+PASS
+Normal tab order with tabindex=-1 but isTabStop=true on host
+Should move from input-before to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in backward
+PASS
+Should move from host-div/inner-input to input-before in backward
+PASS
+Normal tab order with tabindex=1 on host
+PASS host_div.getAttribute("tabindex") is "1"
+PASS host_div.isTabStop is true
+Should move from input-before to input-after in forward
+PASS
+Should move from input-after to host-div in forward
+PASS
+Should move from host-div to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to host-div in backward
+PASS
+Should move from host-div to input-after in backward
+PASS
+Should move from input-after to input-before in backward
+PASS
+Normal tab order with tabindex=1 but isTabStop=false on host
+Should move from input-before to input-after in forward
+PASS
+Should move from input-after to host-div/inner-input in forward
+PASS
+Should move from host-div/inner-input to input-after in backward
+PASS
+Should move from input-after to input-before in backward
+PASS
+Test finished.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+

Powered by Google App Engine
This is Rietveld 408576698