| OLD | NEW |
| 1 <style> | 1 <style> |
| 2 .box { | 2 .box { |
| 3 position: relative; | 3 position: relative; |
| 4 -webkit-animation-delay: 5ms; | 4 -webkit-animation-delay: 5ms; |
| 5 -webkit-animation-name: anim; | 5 -webkit-animation-name: anim; |
| 6 } | 6 } |
| 7 @-webkit-keyframes anim { | 7 @-webkit-keyframes anim { |
| 8 from { -webkit-transform: translateX(10px); } | 8 from { transform: translateX(10px); } |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 <script type="text/javascript" charset="utf-8"> | 11 <script type="text/javascript" charset="utf-8"> |
| 12 if (window.testRunner) { | 12 if (window.testRunner) { |
| 13 testRunner.dumpAsText(); | 13 testRunner.dumpAsText(); |
| 14 testRunner.waitUntilDone(); | 14 testRunner.waitUntilDone(); |
| 15 } | 15 } |
| 16 | 16 |
| 17 function waitForAnimation() | 17 function waitForAnimation() |
| 18 { | 18 { |
| 19 window.setTimeout(function() { | 19 window.setTimeout(function() { |
| 20 if (window.testRunner) | 20 if (window.testRunner) |
| 21 testRunner.notifyDone(); | 21 testRunner.notifyDone(); |
| 22 }, 50); | 22 }, 50); |
| 23 } | 23 } |
| 24 window.addEventListener('load', waitForAnimation, false); | 24 window.addEventListener('load', waitForAnimation, false); |
| 25 </script> | 25 </script> |
| 26 <p>Test passes if it does not crash.</p> | 26 <p>Test passes if it does not crash.</p> |
| 27 <span class="box">Hello world</span> | 27 <span class="box">Hello world</span> |
| OLD | NEW |