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

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: rebase Created 6 years, 8 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
« no previous file with comments | « LayoutTests/svg/custom/tabindex-order.html ('k') | LayoutTests/svg/repaint/focus-element.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
+
« no previous file with comments | « LayoutTests/svg/custom/tabindex-order.html ('k') | LayoutTests/svg/repaint/focus-element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698