custom-property-animation-transform-none.tentative.html (1109B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1"> 3 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/9522"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="../resources/utils.js"></script> 7 <div id="target"></div> 8 <script> 9 10 // Move to custom-property-animation-transform-list-single-values.html when no longer tentative 11 animation_test({ 12 syntax: "<transform-list>|none", 13 inherits: false, 14 initialValue: "none" 15 }, { 16 keyframes: ["translateX(200px)"], 17 expected: "translateX(200px)" 18 }, 'Animating a custom property of type "<transform-list>|none" from "none" to <transform-list> value'); 19 20 // Move to custom-property-animation-transform-function.html when no longer tentative 21 animation_test({ 22 syntax: "<transform-function>|none", 23 inherits: false, 24 initialValue: "none" 25 }, { 26 keyframes: ["translateX(200px)"], 27 expected: "translateX(200px)" 28 }, 'Animating a custom property of type "<transform-function>|none" from "none" to <transform-function> value'); 29 30 </script>