8 background-color: blue;
9 -webkit-transition-property: left;
10 -webkit-transition-duration:
2s;
11 -webkit-transition-timing-function: linear;
16 This tests changing a transitioning property while running and resetting its duration to
0.
17 The box should start moving left and after
600ms snap back to
0</p>
20 <script src=
"../animations/resources/animation-test-helpers.js"></script>
24 document
.getElementById('box').style
.webkitTransitionDuration
= "0s";
25 document
.getElementById('box').style
.left
= "0px";
30 document
.getElementById('box').style
.left
= "400px";
34 [0.5, 'box', 'left', 100, 50],
35 [0.7, 'box', 'left', 0, 0],
42 runTransitionTest(expectations
, trigger
, callbacks
);