<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.internals) { | |
internals.settings.setUserInterfaceDirectionPolicy("System"); | |
internals.settings.setSystemLayoutDirection("RTL"); | |
} | |
</script> | |
</head> | |
<body style="height: 1000px; position: relative;"> | |
<div style="position: absolute; left: 0px; bottom: 0px;">This test makes sure that rtl scrollbars are on the left of the main frame.</div> | |
<script> | |
window.scrollTo(0, 1000); | |
</script> | |
</body> | |
</html> |