blob: 1f0a0aa58879021f683d5044855d47b67e8a1ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<html>
<head>
<script>
function test()
{
if (!window.testRunner)
return;
testRunner.dumpAsText();
document.body.offsetTop;
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();
eventSender.mouseMoveTo(125, 125);
eventSender.mouseMoveTo(135, 135);
eventSender.mouseUp();
testRunner.notifyDone();
}
</script>
</head>
<body style="margin: 0" onload="test()">
<div id="q" style="width: 50px; height: 50px; overflow: hidden; resize: both; border: solid;"></div>
<div style="position: absolute; left: 120px; top: 120px; height: 100px; width: 20px; height: 20px; background-color: blue;" onmouseover="q.style.display='none';"></div>
<div style="position: absolute; left: 8px; right: 8p; top: 150px;">
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=16603">http://bugs.webkit.org/show_bug.cgi?id=16603</a>
Crash when resizing text field</i>.
</p>
<p>
Drag the bottom right corner of the black box over the blue square.
The black box should disappear but the browser should not crash.
</p>
</div>
</body>
</html>
|