| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 #box { | 6 #box { |
| 7 display: inline-block; | 7 display: inline-block; |
| 8 width: 100px; | 8 width: 100px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 margin: 10px; | 10 margin: 10px; |
| 11 background-color: blue; | 11 background-color: blue; |
| 12 -webkit-transition: -webkit-transform 10s; | 12 -webkit-transition: -webkit-transform 10s; |
| 13 } | 13 } |
| 14 | 14 |
| 15 #box.rotated { | 15 #box.rotated { |
| 16 -webkit-transform: rotate(45deg); | 16 transform: rotate(45deg); |
| 17 } | 17 } |
| 18 </style> | 18 </style> |
| 19 <script> | 19 <script> |
| 20 if (window.testRunner) { | 20 if (window.testRunner) { |
| 21 testRunner.dumpAsText(); | 21 testRunner.dumpAsText(); |
| 22 testRunner.waitUntilDone(); | 22 testRunner.waitUntilDone(); |
| 23 } | 23 } |
| 24 function loaded() | 24 function loaded() |
| 25 { | 25 { |
| 26 var box = document.getElementById('box'); | 26 var box = document.getElementById('box'); |
| 27 box.className = 'rotated box'; | 27 box.className = 'rotated box'; |
| 28 window.location = 'resources/interrupted-accelerated-transition-fina
l.html'; | 28 window.location = 'resources/interrupted-accelerated-transition-fina
l.html'; |
| 29 } | 29 } |
| 30 window.addEventListener('load', loaded, false); | 30 window.addEventListener('load', loaded, false); |
| 31 </script> | 31 </script> |
| 32 </head> | 32 </head> |
| 33 <!-- The unload handler keeps this page out of the page cache. --> | 33 <!-- The unload handler keeps this page out of the page cache. --> |
| 34 <body onunload="void(0)"> | 34 <body onunload="void(0)"> |
| 35 <div id="box"></div> | 35 <div id="box"></div> |
| 36 </body> | 36 </body> |
| 37 </html> | 37 </html> |
| OLD | NEW |