Index: third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/parsing/scale-parsing-invalid.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/parsing/scale-parsing-invalid.html b/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/parsing/scale-parsing-invalid.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..82b47cca0bcd499539024a324f3e1056451ffdeb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/parsing/scale-parsing-invalid.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta charset="utf-8"> |
+<title>CSS Transform Module Level 2: parsing scale with invalid values</title> |
+<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org"> |
+<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#propdef-scale"> |
+<meta name="assert" content="scale supports only the grammar 'none | <number>{1,3}'."> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="resources/parsing-testcommon.js"></script> |
+</head> |
+<body> |
+<script> |
+test_invalid_value("scale", "100px"); |
+ |
+test_invalid_value("scale", "100 200 300 400"); |
+</script> |
+</body> |
+</html> |