Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollbars / scrollbar-owning-renderer-crash.html
blob2f4381f7bc47e0b52367ab441c7cace032216010
1 <html id="html1">
2 <head id="head1">
3 <style>
4 ::-webkit-scrollbar { height: 50000; }
5 </style>
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
12 function runTest() {
13 child = document.getElementById('head1');
14 child.parentNode.removeChild(child);
15 document.body.offsetTop;
16 child = document.getElementById('html1');
17 child.parentNode.removeChild(child);
18 document.open();
19 document.write("WebKit bug 80610 - Crash due to owning renderer not removed from custom scrollbar. <br />");
20 document.write("PASS. WebKit didn't crash.");
21 document.close();
24 function finish() {
25 if (window.eventSender)
26 eventSender.mouseMoveTo(100, 100);
27 if (window.testRunner)
28 testRunner.notifyDone();
31 setTimeout("if (window.eventSender) eventSender.mouseMoveTo(0, 0);", 0);
32 setTimeout("runTest();", 10);
33 setTimeout("finish();", 11);
34 </script>
35 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
36 </head>
37 </html>