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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-overlapping-elements-expected.txt

Issue 105973003: Improve spatial navigation on overlapping elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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/spatial-navigation/snav-overlapping-elements-expected.txt
diff --git a/LayoutTests/fast/spatial-navigation/snav-overlapping-elements-expected.txt b/LayoutTests/fast/spatial-navigation/snav-overlapping-elements-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..828f2ac1b5e45f94742f4448c776c5f13443b516
--- /dev/null
+++ b/LayoutTests/fast/spatial-navigation/snav-overlapping-elements-expected.txt
@@ -0,0 +1,25 @@
+This test ensures that Spatial Navigation works with overlapping elements.
+* Pre-conditions:
+1) Spatial navigation enabled.
+* Navigation steps:
+1) Loads this page, focus goes to start position (element #e5) automatically.
+2) Focus moves away from start postion in various direction, CSS nav-* attributes are expected to be respected.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Element 1Element 2Element 3Element 4Element 5Element 6
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e2"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e3"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e2"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e1"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e2"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e3"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e4"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e5"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e6"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e5"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e4"
+PASS successfullyParsed is true
+
+TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698