diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-properties-values-api')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html new file mode 100644 index 00000000000..95757445ae7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="../resources/utils.js"></script> +<div id="target"></div> +<script> + +animation_test({ + syntax: "<number>+ | <transform-list>", + inherits: false, + initialValue: "translateX(100px)" +}, { + keyframes: ["200"], + expected: "200" +}, 'Animating a custom property allowing multiple list types with two mismatching types'); + +</script> |