summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html')
-rw-r--r--testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html
new file mode 100644
index 0000000000..17ad1067a4
--- /dev/null
+++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html
@@ -0,0 +1,17 @@
+<!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>
+
+transition_test({
+ syntax: "<transform-function>",
+ from: "translateX(100px)",
+ to: "translateX(200px)",
+ expected: "translateX(150px)",
+ behavior: 'allow-discrete',
+}, 'A custom property of type <transform-function> can yield a CSS Transition');
+
+</script>