4 <p>This tests clicking on a region immediately after a file input field. WebKit should not crash and you should see PASS below.
5 To manually test this, click on the black region below.
</p>
6 <div id=
"form" style=
"width: 200px; height: 200px; position: absolute; top: 20px; left: 0px; background: black;">
7 <input type=
"file" style=
"width: 100px; height: 50px; display: block; padding: 10px; background: white;">
11 if (window
.testRunner
&& window
.eventSender
) {
12 testRunner
.dumpAsText();
14 eventSender
.mouseMoveTo(180, 50);
15 eventSender
.leapForward(200);
16 eventSender
.mouseDown();
17 eventSender
.leapForward(200);
18 eventSender
.mouseUp();
19 eventSender
.leapForward(200);
20 document
.writeln('PASS');