| 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 <style> | 7 <style> |
| 8 #container { | 8 #container { |
| 9 position: relative; | 9 position: relative; |
| 10 width: 400px; | 10 width: 400px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #container.moved .hardware { | 31 #container.moved .hardware { |
| 32 -webkit-animation: move 300ms linear; | 32 -webkit-animation: move 300ms linear; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .hardware { | 35 .hardware { |
| 36 -webkit-transform-style: preserve-3d; | 36 -webkit-transform-style: preserve-3d; |
| 37 } | 37 } |
| 38 | 38 |
| 39 @-webkit-keyframes move { | 39 @-webkit-keyframes move { |
| 40 from { -webkit-transform: translateX(0); } | 40 from { transform: translateX(0); } |
| 41 to { -webkit-transform: translateX(300px); } | 41 to { transform: translateX(300px); } |
| 42 } | 42 } |
| 43 </style> | 43 </style> |
| 44 <script type="text/javascript" charset="utf-8"> | 44 <script type="text/javascript" charset="utf-8"> |
| 45 | 45 |
| 46 function testEnded() | 46 function testEnded() |
| 47 { | 47 { |
| 48 document.getElementById('tester').style.webkitTransform = 'translateX(150p
x)'; | 48 document.getElementById('tester').style.webkitTransform = 'translateX(150p
x)'; |
| 49 if (window.testRunner) | 49 if (window.testRunner) |
| 50 testRunner.notifyDone(); | 50 testRunner.notifyDone(); |
| 51 } | 51 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 68 <div id="container"> | 68 <div id="container"> |
| 69 <div class="indicator box"></div> | 69 <div class="indicator box"></div> |
| 70 <div id="tester" class="hardware box"></div> | 70 <div id="tester" class="hardware box"></div> |
| 71 </div> | 71 </div> |
| 72 | 72 |
| 73 <div id="result"> | 73 <div id="result"> |
| 74 </div> | 74 </div> |
| 75 | 75 |
| 76 </body> | 76 </body> |
| 77 </html> | 77 </html> |
| OLD | NEW |