| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| if (window.internals) { |
| internals.settings.setUserInterfaceDirectionPolicy("View"); |
| internals.settings.setSystemLayoutDirection("RTL"); |
| } |
| </script> |
| </head> |
| <body style="margin: 0px;"> |
| <div id="text" style="font: 20px Ahem; position: absolute; left: 100px;">pppppppppppppp</div> |
| <div style="position: absolute; left: 0px; top: 20px;">This test makes sure that hit testing works with rtl scrollbars. The test passes if the first character above (it looks like an underline) is selected.</div> |
| <div style="width: 1px; height: 1000px;"></div> |
| <script> |
| if (window.eventSender) { |
| eventSender.mouseMoveTo(117, 10); |
| eventSender.mouseDown(); |
| eventSender.mouseMoveTo(128, 10); |
| eventSender.mouseUp(); |
| } |
| </script> |
| </body> |
| </html> |