Index: third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/rotate-parsing-invalid.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/rotate-parsing-invalid.html b/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/rotate-parsing-invalid.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7b7a5f1bb165b85ceec246dccc7fba6de214623 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/rotate-parsing-invalid.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:11:45
Optional: Consider adding some structure to this t
Eric Willigers
2017/05/22 07:13:40
Done.
|
+<html> |
+<head> |
+<meta charset="utf-8"> |
+<title>CSS Transform Module Level 2: parsing rotate with invalid values</title> |
+<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google.com"> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:11:45
Use @chromium instead?
Eric Willigers
2017/05/22 07:13:40
Done.
|
+<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#propdef-rotate"> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:41:16
Oh yes, is the editor's draft the correct spec lin
Eric Willigers
2017/05/22 07:13:40
It is. There are no other published versions of cs
|
+<meta name="assert" content="rotate value: none | <number>{3}? <angle>"> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:11:45
Consider making this assertion a full sentence (an
Eric Willigers
2017/05/22 07:13:40
Done.
|
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="resources/testcommon.js"></script> |
+</head> |
+<body> |
+<script> |
+assert_invalid_value("rotate", "100px"); |
+ |
+assert_invalid_value("rotate", "100 400deg"); |
+assert_invalid_value("rotate", "100 200 400deg"); |
+assert_invalid_value("rotate", "100 200 300 500 400deg"); |
+</script> |
+</body> |
+</html> |