blob: bedf214c7da837458e08a93036278f40494d627c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
internals.settings.setUserInterfaceDirectionPolicy("View");
internals.settings.setSystemLayoutDirection("RTL");
}
</script>
</head>
<body style="margin: 0px;">
<div style="font: 20px Ahem;">pppppppppppppp</div>
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 style="width: 1px; height: 1000px;"></div>
<script>
if (window.eventSender) {
eventSender.mouseMoveTo(17, 10);
eventSender.mouseDown();
eventSender.mouseMoveTo(28, 10);
eventSender.mouseUp();
}
</script>
</body>
</html>