simon.fraser@apple.com | 99ff95d | 2010-12-17 21:22:47 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | |
| 3 | <html> |
| 4 | <head> |
simon.fraser@apple.com | 4803cdd | 2011-04-26 03:25:14 +0000 | [diff] [blame] | 5 | <style> |
simon.fraser@apple.com | 99ff95d | 2010-12-17 21:22:47 +0000 | [diff] [blame] | 6 | #box { |
| 7 | display: inline-block; |
| 8 | width: 100px; |
| 9 | height: 100px; |
| 10 | margin: 10px; |
| 11 | background-color: blue; |
| 12 | -webkit-transition: -webkit-transform 10s; |
| 13 | } |
| 14 | |
| 15 | #box.rotated { |
| 16 | -webkit-transform: rotate(45deg); |
| 17 | } |
| 18 | </style> |
simon.fraser@apple.com | 4803cdd | 2011-04-26 03:25:14 +0000 | [diff] [blame] | 19 | <script> |
rniwa@webkit.org | cc082ecd | 2012-06-16 03:42:58 +0000 | [diff] [blame] | 20 | if (window.testRunner) { |
| 21 | testRunner.dumpAsText(); |
| 22 | testRunner.waitUntilDone(); |
simon.fraser@apple.com | 99ff95d | 2010-12-17 21:22:47 +0000 | [diff] [blame] | 23 | } |
| 24 | function loaded() |
| 25 | { |
| 26 | var box = document.getElementById('box'); |
| 27 | box.className = 'rotated box'; |
| 28 | window.location = 'resources/interrupted-accelerated-transition-final.html'; |
| 29 | } |
| 30 | window.addEventListener('load', loaded, false); |
| 31 | </script> |
| 32 | </head> |
| 33 | <!-- The unload handler keeps this page out of the page cache. --> |
tonyg@chromium.org | c97c8f8 | 2010-12-18 05:20:41 +0000 | [diff] [blame] | 34 | <body onunload="void(0)"> |
simon.fraser@apple.com | 99ff95d | 2010-12-17 21:22:47 +0000 | [diff] [blame] | 35 | <div id="box"></div> |
| 36 | </body> |
| 37 | </html> |