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

Unified Diff: LayoutTests/svg/custom/tabindex-order-expected.txt

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased + add test rebaseline Created 6 years, 9 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/svg/custom/tabindex-order-expected.txt
diff --git a/LayoutTests/svg/custom/tabindex-order-expected.txt b/LayoutTests/svg/custom/tabindex-order-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57dda2c7e26042b7f75d079c6a152f90c883b381
--- /dev/null
+++ b/LayoutTests/svg/custom/tabindex-order-expected.txt
@@ -0,0 +1,35 @@
+This page tests that the SVG tabbing order is respected properly.
+
+To test, put focus in "a". Pressing Tab should focus "a" through "k" in order, and pressing Shift-Tab should reverse the order.
+
+ Tabbing forward....
+
+<rect id="a" tabindex="1"> focused
+<rect id="b" tabindex="1"> focused
+<rect id="c" tabindex="1"> focused
+<rect id="d" tabindex="1"> focused
+<rect id="e" tabindex="3"> focused
+<rect id="f" tabindex="4"> focused
+<rect id="g" tabindex="6"> focused
+<rect id="h" tabindex="6"> focused
+<rect id="i" tabindex="0"> focused
+<rect id="j" tabindex="0"> focused
+<rect id="k" tabindex="0"> focused
+
+Tabbing backward....
+
+<rect id="k" tabindex="0"> focused
+<rect id="j" tabindex="0"> focused
+<rect id="i" tabindex="0"> focused
+<rect id="h" tabindex="6"> focused
+<rect id="g" tabindex="6"> focused
+<rect id="f" tabindex="4"> focused
+<rect id="e" tabindex="3"> focused
+<rect id="d" tabindex="1"> focused
+<rect id="c" tabindex="1"> focused
+<rect id="b" tabindex="1"> focused
+<rect id="a" tabindex="1"> focused
+
+Test finished
+
+

Powered by Google App Engine
This is Rietveld 408576698