aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-properties-values-api
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2023-01-31 01:38:06 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2023-01-31 01:40:55 +0000
commit48c9556bb6f3e4b0ee514dba279fdda7a1d9f608 (patch)
tree742f3746e8c8cd3a947b7e9381c56bfe1d392ba7 /tests/wpt/web-platform-tests/css/css-properties-values-api
parentfbc2ac00fba2e659cfb44e69ee8315f884611b44 (diff)
downloadservo-48c9556bb6f3e4b0ee514dba279fdda7a1d9f608.tar.gz
servo-48c9556bb6f3e4b0ee514dba279fdda7a1d9f608.zip
Update web-platform-tests to revision b'94be51cc50986018ab25e8a952bf234862ef3e5f'
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.html18
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>