OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 .c2 { overflow: scroll; background: aqua; } | 3 .c2 { overflow: scroll; background: aqua; } |
4 .c6 { -webkit-column-count: 2;} | 4 .c6 { -webkit-column-count: 2;} |
5 </style> | 5 </style> |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 function boom() { | 10 function boom() { |
11 var select = document.createElement('select'); | 11 var select = document.createElement('select'); |
12 select.setAttribute('size', '65536'); | 12 select.setAttribute('size', '65536'); |
13 select.setAttribute('class', 'c2'); | 13 select.setAttribute('class', 'c2'); |
14 document.documentElement.appendChild(select); | 14 document.documentElement.appendChild(select); |
15 document.body.offsetTop; | 15 document.body.offsetTop; |
16 select.setAttribute('class', 'c6'); | 16 select.setAttribute('class', 'c6'); |
17 document.body.offsetTop; | 17 document.body.offsetTop; |
18 } | 18 } |
19 window.onload = boom; | 19 window.onload = boom; |
20 </script> | 20 </script> |
21 <div>This test checks that RenderLayer doesn't crash because it is missing a Scr
ollableArea.</div> | 21 <div>This test checks that Layer doesn't crash because it is missing a Scrollabl
eArea.</div> |
22 <div>This test has PASSED if it didn't CRASH.</div> | 22 <div>This test has PASSED if it didn't CRASH.</div> |
OLD | NEW |