Index: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-anchor-parsing-invalid.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-anchor-parsing-invalid.html b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-anchor-parsing-invalid.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b160504bde1341f4cd4697504b29370fead1e316 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-anchor-parsing-invalid.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta charset="utf-8"> |
+<title>Motion Path Module Level 1: parsing offset-anchor with invalid values</title> |
+<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google.com"> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:46:19
@chromium?
Eric Willigers
2017/05/25 11:43:11
Done.
|
+<link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-anchor-property"> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:46:20
Add a TODO to change this spec link to the working
Eric Willigers
2017/05/25 11:43:12
I haven't across any such TODOs in the web platfor
|
+<script src="/resources/testharness.js"></script> |
suzyh_UTC10 (ex-contributor)
2017/05/22 01:46:20
These tests are missing the <meta name="assert" ..
Eric Willigers
2017/05/25 11:43:11
assert added
|
+<script src="/resources/testharnessreport.js"></script> |
+<script src="resources/testcommon.js"></script> |
+</head> |
+<body> |
+<script> |
+assert_invalid_value("offset-anchor", "none"); |
+assert_invalid_value("offset-anchor", "30deg"); |
+assert_invalid_value("offset-anchor", "left 10% top"); |
+</script> |
+</body> |
+</html> |