4 <title>Test that paused composited animations do not animate
</title>
7 background-color: coral;
11 -webkit-animation-play-state: paused;
12 -webkit-animation-duration:
0.2s;
13 -webkit-animation-timing-function: linear;
14 -webkit-animation-name: fade;
15 -webkit-animation-fill-mode: forwards;
18 @-webkit-keyframes fade {
22 <script src=
"resources/animation-test-helpers.js" type=
"text/javascript"></script>
23 <script type=
"text/javascript">
24 const expectedValues
= [
25 // [time, element-id, property, expected-value, tolerance]
26 [0.2, "box", "opacity", 1, 0.002],
29 const doPixelTest
= true;
30 const disablePauseAnimationAPI
= true;
31 runAnimationTest(expectedValues
, null, null, disablePauseAnimationAPI
, doPixelTest
);
36 <div id=
"result"></div>