blob: 324878f9434e971cfdc88593bcbe9a0090728362 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
internals.settings.setUserInterfaceDirectionPolicy("System");
internals.settings.setSystemLayoutDirection("RTL");
}
</script>
</head>
<body style="margin: 0px;">
This test makes sure that position-sticky obeys RTL scrollbars when positioning.
<div style="position: relative; width: 600px; height: 500px; overflow: scroll;">
<div style="position: absolute; top: 0px; left: 0px; width: 2000px; height: 1px;">
<div style="position: absolute; width: 485px; height: 100px; background: blue;"></div>
<div style="position: absolute; left: 485px; width: 100px; height: 100px; background: green;"></div>
</div>
</div>
</body>
</html>