5 <style type="text/css" media="screen">
11 background-color: blue;
15 -webkit-animation: move 0.1s linear;
17 -webkit-transition: left 10s linear;
20 .box.animating.moved {
24 @-webkit-keyframes move {
37 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
38 <script type="text/javascript" charset="utf-8">
40 if (window.testRunner)
41 testRunner.waitUntilDone();
43 const expectedValues = [
44 // [time, element-id, property, expected-value, tolerance]
45 [0.2, "test", "left", 200, 10],
48 function animationStarted()
50 document.getElementById('test').className = 'animating moved box';
55 document.getElementById('test').className = 'animating box';
56 runAnimationTest(expectedValues, animationStarted, undefined, 'do-not-use-pause-api');
59 window.addEventListener('load', function() {
60 window.setTimeout(setupTest, 0);
66 <p>Once animation has finished, box shouldn't transitioning.</p>
67 <div id="test" class="box"></div>
68 <div id="result"></div>