Index: third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html |
diff --git a/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html b/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5a89174a0c29c47a0946313656441a0918f0d0d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="resources/property-parsing-test.js"></script> |
+<script> |
+ |
+function testDescriptors(keyword) { |
+ assert_invalid_value("src", keyword); |
+ assert_invalid_value("orientation", keyword); |
+ assert_invalid_value("min-zoom", keyword); |
+ assert_invalid_value("max-zoom", keyword); |
+ assert_invalid_value("user-zoom", keyword); |
+ assert_invalid_value("unicode-range", keyword); |
+ assert_invalid_value("font-display", keyword); |
+} |
+ |
+testDescriptors("initial"); |
+testDescriptors("inherit"); |
+testDescriptors("unset"); |
+testDescriptors("INITIAL"); |
+testDescriptors("INHERIT"); |
+testDescriptors("UNSET"); |
+testDescriptors("iNiTiAl"); |
+testDescriptors("iNhErIt"); |
+testDescriptors("uNsEt"); |
+</script> |