Add some PencilKit extension points
[WebKit-https.git] / LayoutTests / fast / events / input-image-scrolled-x-y.html
1 <head>
2 <script>
3 function test()
4 {
5     var queryIndex = document.URL.indexOf('?');
6     if (queryIndex == -1) {
7         window.scrollTo(500, 500);
8
9         if (window.testRunner) {
10             testRunner.dumpAsText();
11             testRunner.waitUntilDone();
12
13             eventSender.mouseMoveTo(18, 18);
14             eventSender.mouseDown();
15             eventSender.mouseUp();
16         }
17     } else {
18         document.write("<div>Form data: " + document.URL.substring(queryIndex + 1) + "</div>");
19         document.write("<div>X and Y should both be about 10.</div>");
20
21         if (window.testRunner)
22             testRunner.notifyDone();
23     }
24 }
25 </script>
26 </head>
27 <body onload="test()">
28 <div style="background:red; width:1000px; height:500px"></div>
29 <div style="background:blue; height:50px; width:500px; float:left"></div>
30 <form method="get" action="input-image-scrolled-x-y.html"><input type="image" src="resources/greenbox.png"></form>
31 <div style="background:orange; width:3000px; height:3000px"></div>
32 </body>