| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head id="head"> | |
| 3 <script> | |
| 4 if (window.testRunner) | |
| 5 testRunner.dumpAsText(); | |
| 6 </script> | |
| 7 <style> | |
| 8 * {background-image:inherit;} | |
| 9 </style> | |
| 10 </head> | |
| 11 <body> | |
| 12 <span></span> | |
| 13 </body> | |
| 14 <script> | |
| 15 document.body.style.background="-webkit-canvas(foo)"; | |
| 16 var head = document.getElementById("head"); | |
| 17 style = document.createElement("style"); | |
| 18 style.type = "text/css"; | |
| 19 var rule = document.createTextNode("* {content:counter(mycount_id)}"); | |
| 20 style.appendChild(rule); | |
| 21 head.appendChild(style); | |
| 22 document.body.setAttribute("style","line-height:128mm;"); | |
| 23 </script> | |
| 24 This test works if it doesn't crash. | |
| 25 </html> | |
| OLD | NEW |