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

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: Fixed compilation error in mac and crash in linux/window that were reported by trybots. Created 6 years, 3 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..a0cee786f4cf6b3bcba321945c04dac431e9a30d
--- /dev/null
+++ b/LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
@@ -0,0 +1,35 @@
+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 e5_navUp.cssValueType is CSSValue.CSS_VALUE_LIST
+PASS e5_navUp.length is 2
+PASS e5_navUp[0].cssValueType is CSSValue.CSS_PRIMITIVE_VALUE
+PASS e5_navUp[0].primitiveType is CSSPrimitiveValue.CSS_STRING
+PASS e5_navUp[0].getStringValue() is "#e2"
+PASS e5_navUp[1].cssValueType is CSSValue.CSS_PRIMITIVE_VALUE
+PASS e5_navUp[1].primitiveType is CSSPrimitiveValue.CSS_IDENT
+PASS e5_navUp[1].getStringValue() is "current"
+PASS e6_navDown.cssValueType is CSSValue.CSS_VALUE_LIST
+PASS e6_navDown.length is 2
+PASS e6_navDown[1].primitiveType is CSSPrimitiveValue.CSS_IDENT
+PASS e6_navDown[1].getStringValue() is "current"
+PASS e8_navDown.cssValueType is CSSValue.CSS_VALUE_LIST
+PASS e8_navDown.length is 2
+PASS e8_navDown[1].primitiveType is CSSPrimitiveValue.CSS_STRING
+PASS e8_navDown[1].getStringValue() is "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