<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
    internals.settings.setUserInterfaceDirectionPolicy("System");
    internals.settings.setSystemLayoutDirection("RTL");
}
</script>
</head>
<body>
<div id="text" style='position: absolute; left: 0px; top: 0px;'>ABCD</div>
<div style='position: absolute; left: 0px; top: 25px;'>DEFG</div>
<div style="position: absolute; left: 8px; top: 100px;">This test makes sure that contents of iframes are not covered by an rtl scrollbar.</div>
</body>
</html>
