Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / layers / crash-remove-scrollbar-no-scrollable-area.html
blobde1e46f386529618e509dd14c4491f2a50a7b697
1 <!DOCTYPE html>
2 <style>
3 .c2 { overflow: scroll; background: aqua; }
4 .c6 { -webkit-column-count: 2;}
5 </style>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 function boom() {
11 var select = document.createElement('select');
12 select.setAttribute('size', '65536');
13 select.setAttribute('class', 'c2');
14 document.documentElement.appendChild(select);
15 document.body.offsetTop;
16 select.setAttribute('class', 'c6');
17 document.body.offsetTop;
19 window.onload = boom;
20 </script>
21 <div>This test checks that Layer doesn't crash because it is missing a ScrollableArea.</div>
22 <div>This test has PASSED if it didn't CRASH.</div>