Index: third_party/WebKit/LayoutTests/css-parser/unitless-length-quirk.html |
diff --git a/third_party/WebKit/LayoutTests/css-parser/unitless-length-quirk.html b/third_party/WebKit/LayoutTests/css-parser/unitless-length-quirk.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bca45b81e3d175dccb1214ec66146f7973566239 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css-parser/unitless-length-quirk.html |
@@ -0,0 +1,12 @@ |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="resources/property-parsing-test.js"></script> |
+<script> |
+// Intentionally testing in quirks mode |
+assert_valid_value("paddingLeft", "20", "20px", true); |
+assert_valid_value("top", "30", "30px", true); |
+assert_valid_value("minWidth", "40", "40px", true); |
+ |
+assert_invalid_value("outlineWidth", "50"); |
+assert_invalid_value("motionOffset", "60"); |
+</script> |