diff options
Diffstat (limited to 'testing/web-platform/tests/css/motion/parsing/offset-position-parsing-invalid.html')
-rw-r--r-- | testing/web-platform/tests/css/motion/parsing/offset-position-parsing-invalid.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/motion/parsing/offset-position-parsing-invalid.html b/testing/web-platform/tests/css/motion/parsing/offset-position-parsing-invalid.html new file mode 100644 index 0000000000..5e749e5b4e --- /dev/null +++ b/testing/web-platform/tests/css/motion/parsing/offset-position-parsing-invalid.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>Motion Path Module Level 1: parsing offset-position 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-position-property"> +<meta name="assert" content="offset-position supports only the grammar 'auto | <position>'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_invalid_value("offset-position", "none"); +test_invalid_value("offset-position", "30deg"); +test_invalid_value("offset-position", "left 10% top"); +</script> +</body> +</html> |