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 |
+ |