blob: b5c99493212de51d1fea98975f8b757f53826878 [file] [log] [blame]
<!DOCTYPE html>
html, body {
margin: 0;
padding: 0;
.container {
width: 100px;
height: 100px;
overflow: auto;
background-color: lime;
.box {
width: 500px;
height: 500px;
if (window.internals) {
internals.runtimeFlags.overlayScrollbarsEnabled = true;
<p>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>