OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 | 3 |
4 <html lang="en"> | 4 <html lang="en"> |
5 <head> | 5 <head> |
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
7 <title>Test Changing Keyframes Using CSSOM</title> | 7 <title>Test Changing Keyframes Using CSSOM</title> |
8 <style type="text/css" media="screen"> | 8 <style type="text/css" media="screen"> |
9 #box { | 9 #box { |
10 position: relative; | 10 position: relative; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 { | 65 { |
66 document.getElementById('box').style.webkitAnimationName = "none"; | 66 document.getElementById('box').style.webkitAnimationName = "none"; |
67 setTimeout("change()", 0); | 67 setTimeout("change()", 0); |
68 } | 68 } |
69 | 69 |
70 function setup() | 70 function setup() |
71 { | 71 { |
72 setTimeout("startChange()", 600); | 72 setTimeout("startChange()", 600); |
73 } | 73 } |
74 | 74 |
75 runAnimationTest(expectedValues, setup); | 75 runAnimationTest(expectedValues, setup, undefined, 'do-not-use-pause-api'); |
76 | 76 |
77 </script> | 77 </script> |
78 </head> | 78 </head> |
79 <body> | 79 <body> |
80 This test performs an animation of the left property and makes sure it is animat
ing. Then it stops | 80 This test performs an animation of the left property and makes sure it is animat
ing. Then it stops |
81 the animation, changes the keyframes to an animation of the top property, restar
ts the animation | 81 the animation, changes the keyframes to an animation of the top property, restar
ts the animation |
82 and makes sure top is animating. | 82 and makes sure top is animating. |
83 <div id="box"> | 83 <div id="box"> |
84 </div> | 84 </div> |
85 <div id="result"> | 85 <div id="result"> |
86 </div> | 86 </div> |
87 </body> | 87 </body> |
88 </html> | 88 </html> |
OLD | NEW |