<!DOCTYPE html>
<html>
<head>
<meta name=fuzzy content="maxDifference=0-1;totalPixels=0-300">
<script>
if (window.internals)
internals.useMockOverlayScrollbars();
</script>
<style>
html, body {
margin: 0;
padding: 0;
}
.container {
width: 100px;
height: 100px;
overflow: auto;
background-color: lime;
}
.box {
width: 500px;
height: 500px;
}
</style>
</head>
<body>
<!--
You should see first 2 green boxes with overlay scrollbars.
The second box should have a scrollbar on the left.
Remaining 2 green boxes should appear without overlay scrollbars.
-->
<div class="container"><div class="box"></div></div>
<div dir="rtl" class="container"><div class="box"></div></div>
<div class="container" style="overflow: scroll"></div>
<div dir="rtl" class="container" style="overflow: scroll"></div>
</body>
</html>