blob: c6e79bc8e47e6a4d3b9b3e9b8d2dbe2c2a7069cf [file] [edit]
<!DOCTYPE html>
<style>body { overflow:hidden; }</style>
<p>The scrollable container below should not appear to be scrollable.</p>
<div id="child" style="display:none; overflow:scroll; width:200px; height:200px;">
<div style="box-sizing:border-box; border:solid; width:100%; height:100%;"></div>
</div>
<script>
onload = ()=> {
if (!window.internals)
return;
internals.settings.setMockScrollbarsEnabled(true);
child.style.display = "block";
}
</script>