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

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

Issue 1919813002: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bed46b9ea48446d630a4e8baf3e08aa8dd06ddad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
@@ -0,0 +1,56 @@
+This test ensures the correctness of Spatial Navigation when CSS3 nav-up/down/left/right properties are set.
+
+1 2 3
+4 5 6
+7 8 9
+
+PASS window.getComputedStyle(document.getElementById('e1')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e1')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e1')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e1')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e2')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e2')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e2')).navLeft is "\"#e4\" current"
+PASS window.getComputedStyle(document.getElementById('e2')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e3')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e3')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e3')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e3')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e4')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e4')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e4')).navLeft is "\"#e6\" current"
+PASS window.getComputedStyle(document.getElementById('e4')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e5')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e5')).navUp is "\"#e2\" current"
+PASS window.getComputedStyle(document.getElementById('e5')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e5')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e5')).navRight is "\"#e9\" current"
+PASS window.getComputedStyle(document.getElementById('e6')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e6')).navDown is "\"#e8\" current"
+PASS window.getComputedStyle(document.getElementById('e6')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e6')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e7')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e7')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e7')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e7')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e8')).navUp is "auto"
+PASS window.getComputedStyle(document.getElementById('e8')).navDown is "\"#fr1\" current"
+PASS window.getComputedStyle(document.getElementById('e8')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e8')).navRight is "auto"
+PASS window.getComputedStyle(document.getElementById('e9')).navUp is "\"#e9\" current"
+PASS window.getComputedStyle(document.getElementById('e9')).navDown is "auto"
+PASS window.getComputedStyle(document.getElementById('e9')).navLeft is "auto"
+PASS window.getComputedStyle(document.getElementById('e9')).navRight is "\"#e5\" current"
+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 "fr1"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "e5"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698