| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| if (window.internals) { |
| internals.settings.setUserInterfaceDirectionPolicy("View"); |
| internals.settings.setSystemLayoutDirection("RTL"); |
| } |
| </script> |
| </head> |
| <body> |
| <iframe id="iframe" style="position: absolute; width: 100px; height: 100px; left: 0px; top: 0px; margin: 0px; border: solid black 0px; padding: 0px;" |
| srcdoc="<!DOCTYPE html> |
| <head> |
| </head> |
| <body style='margin: 0px;'> |
| <div style='font: 20px Ahem;'><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>ppp</div> |
| <div style='width: 1px; height: 2000px; position: absolute; left: 0px; top: 0px;'></div> |
| <script> |
| window.scrollTo(0, 1000); |
| if (window.eventSender) { |
| eventSender.mouseMoveTo(17, 10); |
| eventSender.mouseDown(); |
| eventSender.mouseMoveTo(28, 10); |
| eventSender.mouseUp(); |
| } |
| </script> |
| </body> |
| </html>"></iframe> |
| <div style="position: absolute; left: 8px; top: 100px;">This test makes sure that hit testing in iframes works correctly.</div> |
| </body> |
| </html> |