blob: 0b104dd8ac1951b0b6ce6f391b97d5ade229efa2 [file] [log] [blame]
<!DOCTYPE html>
<div style="width: 200px; height: 200px; overflow: scroll">
<div style="background: green; width: 200px; height: 70px"></div>
<!-- This div let the top-level div have the same layout overflow as in the test. -->
<div style="width: 210px; height: 220px"></div>
</div>
<script>
if (window.internals) {
internals.runtimeFlags.overlayScrollbarsEnabled = true;
internals.settings.setMockScrollbarsEnabled(true);
}
</script>