summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html')
-rw-r--r--testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html
new file mode 100644
index 0000000000..37abddd227
--- /dev/null
+++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/9522">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+// Move to custom-property-animation-transform-list-single-values.html when no longer tentative
+animation_test({
+ syntax: "<transform-list>|none",
+ inherits: false,
+ initialValue: "none"
+}, {
+ keyframes: ["translateX(200px)"],
+ expected: "translateX(200px)"
+}, 'Animating a custom property of type "<transform-list>|none" from "none" to <transform-list> value');
+
+// Move to custom-property-animation-transform-function.html when no longer tentative
+animation_test({
+ syntax: "<transform-function>|none",
+ inherits: false,
+ initialValue: "none"
+}, {
+ keyframes: ["translateX(200px)"],
+ expected: "translateX(200px)"
+}, 'Animating a custom property of type "<transform-function>|none" from "none" to <transform-function> value');
+
+</script>