| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script language="javascript"> | 3 <script language="javascript"> |
| 4 function runTest() | 4 function runTest() |
| 5 { | 5 { |
| 6 if (window.layoutTestController) | 6 if (window.layoutTestController) |
| 7 layoutTestController.dumpAsText(); | 7 layoutTestController.dumpAsText(); |
| 8 | 8 |
| 9 rule = document.styleSheets[0].cssRules[0]; | 9 rule = document.styleSheets[0].cssRules[0]; |
| 10 if (rule[0].parentRule == rule) | 10 if (rule[0].parentRule == rule) |
| 11 document.body.innerHTML = "SUCCESS"; | 11 document.body.innerHTML = "SUCCESS"; |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 <style type="text/css"> | 14 <style type="text/css"> |
| 15 @-webkit-keyframes anim { | 15 @-webkit-keyframes anim { |
| 16 from { | 16 from { |
| 17 color: green; | 17 color: green; |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 </head> | 21 </head> |
| 22 <body onload="runTest()">FAILURE</body> | 22 <body onload="runTest()">FAILURE</body> |
| 23 </html> | 23 </html> |
| OLD | NEW |