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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-valid.html

Issue 2886703002: CSS Motion Path: Web Platform tests for longhand parsing (Closed)
Patch Set: test 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/motion-1/parsing/offset-rotate-parsing-valid.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-valid.html b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-valid.html
new file mode 100644
index 0000000000000000000000000000000000000000..18eb8203ec765f33e2567b48c382e6e423f83fb7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-valid.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Motion Path Module Level 1: parsing offset-rotate with valid values</title>
+<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
+<link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-rotate-property">
+<meta name="assert" content="offset-rotate supports the full grammar '[ auto | reverse ] || <angle>'.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="resources/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_valid_value("offset-rotate", "auto");
+test_valid_value("offset-rotate", "reverse");
+test_valid_value("offset-rotate", "-400deg");
+test_valid_value("offset-rotate", "auto 5turn");
+test_valid_value("offset-rotate", "reverse 0rad");
+test_valid_value("offset-rotate", "5turn auto", "auto 5turn");
+test_valid_value("offset-rotate", "0rad reverse", "reverse 0rad");
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698