Implement contentInset for Mac WebKit2
[WebKit-https.git] / LayoutTests / platform / mac-wk2 / tiled-drawing / content-inset-hit-testing-in-frame.html
1 <html>
2 <head>
3 <script>
4     function runTest() {
5         if (!window.eventSender)
6             return;
7         if (window.internals)
8             window.internals.setTopContentInset(100);
9         if (window.testRunner)
10             testRunner.dumpAsText();
11
12         eventSender.mouseMoveTo(20, 120);
13         eventSender.mouseDown();
14         eventSender.mouseUp();
15     }
16 </script>
17 </head>
18 <body onload="runTest()">
19     <iframe src="resources/iframe-to-hit-test.html" scrolling="no" frameborder="no" height="300" width="600"></iframe>
20     <div id="result">This test needs to be run through WebKitTestRunner.</div>
21 </body>
22 </html>