| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html lang="en"> | 2 <html lang="en"> |
| 3 <head> | 3 <head> |
| 4 <title>Test setting animation name to none</title> | 4 <title>Test setting animation name to none</title> |
| 5 <style> | 5 <style> |
| 6 @-webkit-keyframes test {} | 6 @keyframes test {} |
| 7 #test { | 7 #test { |
| 8 -webkit-animation-name: test; | 8 animation-name: test; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 <script> | 11 <script> |
| 12 if (window.testRunner) | 12 if (window.testRunner) |
| 13 testRunner.dumpAsText(); | 13 testRunner.dumpAsText(); |
| 14 </script> | 14 </script> |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 <div id="test">This tests setting -webkit-animation-name to none, it passes if i
t does not crash.</div> | 17 <div id="test">This tests setting animation-name to none, it passes if it does n
ot crash.</div> |
| 18 <script> | 18 <script> |
| 19 document.querySelector('#test').style.webkitAnimationName = 'none' | 19 document.querySelector('#test').style.animationName = 'none' |
| 20 </script> | 20 </script> |
| 21 </body> | 21 </body> |
| 22 </html> | 22 </html> |
| OLD | NEW |