OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 .box { | 6 .box { |
7 position: absolute; | 7 position: absolute; |
8 height: 100px; | 8 height: 100px; |
9 width: 100px; | 9 width: 100px; |
10 left: 0px; | 10 left: 0px; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 ]; | 47 ]; |
48 | 48 |
49 function animationStarted() | 49 function animationStarted() |
50 { | 50 { |
51 document.getElementById('test').className = 'animating moved box'; | 51 document.getElementById('test').className = 'animating moved box'; |
52 } | 52 } |
53 | 53 |
54 function setupTest() | 54 function setupTest() |
55 { | 55 { |
56 document.getElementById('test').className = 'animating box'; | 56 document.getElementById('test').className = 'animating box'; |
57 runAnimationTest(expectedValues, animationStarted); | 57 runAnimationTest(expectedValues, animationStarted, undefined, 'do-not-us
e-pause-api'); |
58 } | 58 } |
59 | 59 |
60 window.addEventListener('load', function() { | 60 window.addEventListener('load', function() { |
61 window.setTimeout(setupTest, 0); | 61 window.setTimeout(setupTest, 0); |
62 }, false); | 62 }, false); |
63 | 63 |
64 </script> | 64 </script> |
65 </head> | 65 </head> |
66 <body> | 66 <body> |
67 <p>Once animation has finished, box should be running left transition from 1
00px to 200px.</p> | 67 <p>Once animation has finished, box should be running left transition from 1
00px to 200px.</p> |
68 <div id="test" class="box"></div> | 68 <div id="test" class="box"></div> |
69 <div id="result"></div> | 69 <div id="result"></div> |
70 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |