12 background-color: blue;
13 -webkit-transition-duration:
0s,
0.5s;
14 -webkit-transition-timing-function: linear;
15 -webkit-transition-property: top, left;
18 <script src=
"../animations/resources/animation-test-helpers.js"></script>
19 <script type=
"text/javascript">
21 const expectedValues
= [
22 // [time, element-id, property, expected-value, tolerance]
23 [0.25, "box", "left", 50, 10],
24 [0.25, "box", "top", 100, 0],
29 var box
= document
.getElementById('box');
30 box
.style
.top
= '100px';
31 box
.style
.left
= '100px';
34 runTransitionTest(expectedValues
, setupTest
);
39 <p>Tests that with a zero duration transition on top, it does not animate
</p>