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