Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-invalid.html |
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-invalid.html b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-invalid.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..80b82d1ce89822123620efaa0e33e85281877a9c |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/parsing/offset-rotate-parsing-invalid.html |
| @@ -0,0 +1,19 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| +<meta charset="utf-8"> |
| +<title>Motion Path Module Level 1: parsing offset-rotate with invalid 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 only the grammar '[ auto | reverse ] || <angle>'."> |
|
suzyh_UTC10 (ex-contributor)
2017/05/25 03:52:57
Maybe add a test that you can't have both 'auto' a
Eric Willigers
2017/05/25 11:43:12
Done.
|
| +<script src="/resources/testharness.js"></script> |
| +<script src="/resources/testharnessreport.js"></script> |
| +<script src="resources/parsing-testcommon.js"></script> |
| +</head> |
| +<body> |
| +<script> |
| +assert_invalid_value("offset-rotate", "none"); |
| +assert_invalid_value("offset-rotate", "0"); |
| +</script> |
| +</body> |
| +</html> |