REGRESSION (r191849): There's no yellow bouncy highlight when using Find on Page...
[WebKit-https.git] / LayoutTests / pageoverlay / overlay-small-frame-mouse-events.html
1 <html>
2 <style>
3 body {
4     height: 5000px;
5     width: 5000px;
6 }
7 </style>
8 <script>
9 window.onload = function () {
10     if (window.testRunner && window.internals) {
11         testRunner.dumpAsText(true);
12         var overlay = internals.installMockPageOverlay("document");
13
14         overlay.setFrame(100, 100, 10, 10);
15
16         eventSender.mouseMoveTo(105, 105);
17         eventSender.mouseDown();
18         eventSender.mouseUp();
19
20         var layersResult = document.getElementById('layers');
21         layersResult.innerText = window.internals.pageOverlayLayerTreeAsText();
22     }
23 }
24 </script>
25 <body>
26     <pre id="layers" style="position: absolute; height: 1px; width: 1px; overflow: hidden;"></pre>
27 </body>
28 </html>