Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/css/css-transforms-2/rotate-parsing-invalid.html

Issue 2882153004: CSS Transforms 2: Web Platform Tests for translate,rotate,scale parsing (Closed)
Patch Set: resources Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698