summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-list-box-size.tentative.html
blob: d1b882f70840686d0695880b45f6889c5cfdc532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
<link rel="help" href="https://drafts.csswg.org/css-values-4/#interpolate">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2854">
<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-list>",
  from: "translateX(50%)",
  to: "scale(4)",
  expected: "mix(50%; translateX(50%); scale(4))",
  behavior: 'allow-discrete',
}, 'A custom property of type <transform-list> yields a CSS Transition using the mix function for a box size dependent matrix interpolation');

</script>