Index: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-parsing-invalid.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-parsing-invalid.html b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-parsing-invalid.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d10d939939a62bf6949d08465695d2fd1538e23b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-parsing-invalid.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta charset="utf-8"> |
+<title>Motion Path Module Level 1: parsing offset-path with invalid values</title> |
+<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google.com"> |
+<link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property"> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="resources/testcommon.js"></script> |
+</head> |
+<body> |
+<script> |
+assert_invalid_value("offset-path", "path('M 20 30 A 60 70 80')"); |
+ |
+assert_invalid_value("offset-path", "ray(0deg)"); |
+assert_invalid_value("offset-path", "ray(closest-side)"); |
+assert_invalid_value("offset-path", "ray(closest-side 0deg closest-side)"); |
+assert_invalid_value("offset-path", "ray(0deg closest-side 0deg)"); |
+assert_invalid_value("offset-path", "ray(contain 0deg closest-side contain)"); |
+ |
+</script> |
+</body> |
+</html> |