| 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>Animation using matrix()</title> | 7 <title>Animation using matrix()</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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 var left = window.getComputedStyle(target).left; | 42 var left = window.getComputedStyle(target).left; |
| 43 target.style.webkitAnimationName = "vert"; | 43 target.style.webkitAnimationName = "vert"; |
| 44 target.style.left = left; | 44 target.style.left = left; |
| 45 } | 45 } |
| 46 | 46 |
| 47 function setup() | 47 function setup() |
| 48 { | 48 { |
| 49 setTimeout("removeAnim()", 500); | 49 setTimeout("removeAnim()", 500); |
| 50 } | 50 } |
| 51 | 51 |
| 52 runAnimationTest(expectedValues, setup); | 52 runAnimationTest(expectedValues, setup, undefined, 'do-not-use-pause-api
'); |
| 53 </script> | 53 </script> |
| 54 </head> | 54 </head> |
| 55 <body> | 55 <body> |
| 56 This test performs two animations, left and top. It animates over 1 second. | 56 This test performs two animations, left and top. It animates over 1 second. |
| 57 At 0.5 second it removes the left animation and the top animation should continu
e | 57 At 0.5 second it removes the left animation and the top animation should continu
e |
| 58 from where it left off. | 58 from where it left off. |
| 59 <div id="box"> | 59 <div id="box"> |
| 60 </div> | 60 </div> |
| 61 <div id="result"> | 61 <div id="result"> |
| 62 </div> | 62 </div> |
| 63 </body> | 63 </body> |
| 64 </html> | 64 </html> |
| OLD | NEW |