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