OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body onload="go()"> | 3 <body onload="go()"> |
4 <p>Bug 64284: Crash in RenderBox::paintBoxDecorations when documentElement has n
o renderer</p> | 4 <p>Bug 64284: Crash in LayoutBox::paintBoxDecorations when documentElement has n
o renderer</p> |
5 <p>For this test to PASS, it should not ASSERT or CRASH.</p> | 5 <p>For this test to PASS, it should not ASSERT or CRASH.</p> |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 function go() { | 10 function go() { |
11 document.open(); | 11 document.open(); |
12 var oUElement = document.createElement("U"); | 12 var oUElement = document.createElement("U"); |
13 oUElement.hidden=true; | 13 oUElement.hidden=true; |
14 oUElement.innerHTML="<style>*{-webkit-border-before-style:groove}"; | 14 oUElement.innerHTML="<style>*{-webkit-border-before-style:groove}"; |
15 document.appendChild(oUElement); | 15 document.appendChild(oUElement); |
16 document.close(); | 16 document.close(); |
17 } | 17 } |
18 </script> | 18 </script> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |