5 var dv = document.getElementById('dv');
6 dv.style.display = "none";
10 testRunner.dumpAsText();
11 if (window.eventSender) {
12 eventSender.dragMode = false;
13 eventSender.mouseMoveTo(100, 50);
14 eventSender.mouseDown();
15 eventSender.mouseMoveTo(100, 55);
16 eventSender.mouseUp();
21 <body onload="test()">
22 This tests that clicking on a scrollbar does not crash, even if there's an event handler that causes the scrollbar to go away during the process.<br>
23 <div id="dv" style="overflow: auto; width: 100px; height: 100px;" onmousedown="hideDiv()">
24 <div style="height: 200px"></div>