OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <div>This test checks that RenderLayer doesn't crash because it is missing a Scr
ollableArea.</div> | 2 <div>This test checks that Layer doesn't crash because it is missing a Scrollabl
eArea.</div> |
3 <div>This test has PASSED if it didn't CRASH.</div> | 3 <div>This test has PASSED if it didn't CRASH.</div> |
4 <script> | 4 <script> |
5 if (window.testRunner) | 5 if (window.testRunner) |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 | 7 |
8 function boom() { | 8 function boom() { |
9 var ruby = document.createElement('ruby'); | 9 var ruby = document.createElement('ruby'); |
10 var ins = document.createElement('ins'); | 10 var ins = document.createElement('ins'); |
11 var map = document.createElement('map'); | 11 var map = document.createElement('map'); |
12 var tfoot = document.createElement('tfoot'); | 12 var tfoot = document.createElement('tfoot'); |
(...skipping 11 matching lines...) Expand all Loading... |
24 document.documentElement.appendChild(style); | 24 document.documentElement.appendChild(style); |
25 document.documentElement.appendChild(em); | 25 document.documentElement.appendChild(em); |
26 document.documentElement.appendChild(header); | 26 document.documentElement.appendChild(header); |
27 | 27 |
28 document.body.offsetTop; | 28 document.body.offsetTop; |
29 var shadow = document.createElement('div').createShadowRoot(); | 29 var shadow = document.createElement('div').createShadowRoot(); |
30 shadow.appendChild(tfoot); | 30 shadow.appendChild(tfoot); |
31 } | 31 } |
32 window.onload = boom; | 32 window.onload = boom; |
33 </script> | 33 </script> |
OLD | NEW |