| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| 2 "http://www.w3.org/TR/html4/loose.dtd"> | |
| 3 | |
| 4 <html lang="en"> | |
| 5 <head> | |
| 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| 7 <title>Test that @import rule importing keyframes does not crash</title> | |
| 8 <style type="text/css"> @import "resources/keyframes.css"; </style> | |
| 9 <style type="text/css" media="screen"> | |
| 10 #box { | |
| 11 position: absolute; | |
| 12 left: 0; | |
| 13 top: 100px; | |
| 14 height: 100px; | |
| 15 width: 100px; | |
| 16 background-color: blue; | |
| 17 animation-duration: 1s; | |
| 18 animation-timing-function: linear; | |
| 19 animation-name: anim; | |
| 20 } | |
| 21 </style> | |
| 22 <script type="text/javascript" charset="utf-8"> | |
| 23 if (window.testRunner) | |
| 24 testRunner.dumpAsText(); | |
| 25 </script> | |
| 26 </head> | |
| 27 <body> | |
| 28 <p>This test simply loads a sheet using @import that contains keyframes, to se
e if https://bugs.webkit.org/show_bug.cgi?id=20855 | |
| 29 is fixed. | |
| 30 <p>It passes if it does not crash. | |
| 31 </body> | |
| 32 </html> | |
| OLD | NEW |