summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-color.html
blob: 445a2a6391683ef652f01b95cda53de6030ab856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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: "<color>",
  from: "rgb(100, 100, 100)",
  to: "rgb(200, 200, 200)",
  expected: "rgb(150, 150, 150)"
}, 'A custom property of type <color> can yield a CSS Transition');

</script>