blob: a8adb7f4d6c891c5ef52ad69903bd763e3f5eb03 [file] [log] [blame]
<!DOCTYPE html>
<div id="container" style="width: 200px; height: 200px; overflow: scroll">
<div id="content" style="position: relative; z-index: -1; background: green; width: 300px; height: 100px"></div>
<div style="height: 210px"></div>
</div>
<script>
if (window.internals) {
internals.runtimeFlags.overlayScrollbarsEnabled = true;
internals.settings.setMockScrollbarsEnabled(true);
}
</script>