blob: b07593147a086458f42cf73c083ed3e8a9fcc53f [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="position: absolute; left: 8px; top: 200px;">This test makes sure that list boxes obey RTL scrollbars.</div>
<select multiple="multiple" style="margin: 0px; border: 0px solid black; padding: 0px;">
<option>January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>August</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
<script>
if (window.eventSender) {
window.addEventListener('load', function() {
eventSender.mouseMoveTo(25, 5);
eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -20, "began", "none");
eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, "ended", "none");
});
}
</script>
</body>
</html>