summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function-to-list.html
blob: d09fb6416ac972722afa259e899c0fb1ce26e371 (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>|<transform-list>",
  from: "translateX(100px)",
  to: "translateX(200px) rotate(90deg)",
  expected: "translateX(200px) rotate(90deg)",
  behavior: 'allow-discrete',
}, 'A custom property cannot yield a CSS Transition from <transform-function> to <transform-list>');

</script>