summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function-matrix.html
blob: 00b5018142524fc358ee3bd932c04cffb6784201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: "translateZ(100px)",
  to: "scale(4)",
  expected: "matrix3d(2.5, 0, 0, 0, 0, 2.5, 0, 0, 0, 0, 1, 0, 0, 0, 50, 1)",
  behavior: 'allow-discrete',
}, 'A custom property of type <transform-function> can yield a CSS Transition between different function types');

</script>