8 -webkit-transition: color
10s linear;
15 <script src=
"../animations/resources/animation-test-helpers.js"></script>
16 <script type=
"text/javascript">
17 const expectedValues
= [
18 // [time, element-id, property, expected-value, tolerance]
19 [4.998, 'test', 'color', [127, 0, 128], 0],
20 [5.000, 'test', 'color', [128, 0, 128], 0],
21 [5.002, 'test', 'color', [128, 0, 127], 0],
26 document
.getElementById('test').className
= 'changed';
29 runTransitionTest(expectedValues
, setupTest
);
35 This test will probably fail when run manually; it requires the pause API for accurate results.
38 <div id=
"result"></div>