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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt

Issue 17450016: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added tests Created 7 years, 5 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/spatial-navigation/snav-css-nav-direction-expected.txt
diff --git a/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt b/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02bae969e92812c848d9348da8a5d63b85d0cc7c
--- /dev/null
+++ b/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
@@ -0,0 +1,22 @@
+This test ensures the correctness of Spatial Navigation (SNav) when CSS3 nav-up/down/left/right properties are set.
+* Pre-conditions:
+1) DRT support for SNav enable/disable.
+* 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".
+
+
+1 2 3
+4 5 6
+7 8 9
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e9"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e9"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e5"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e2"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e4"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e6"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e8"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e5"
+

Powered by Google App Engine
This is Rietveld 408576698