blob: 6de4a3adc64dbb3f5c755c14dc3075b2f1d3a20d [file] [log] [blame]
<!DOCTYPE html>
<div id="container" style="width: 300px; height: 300px; overflow: scroll; outline: 10px solid yellow">
<div style="width: 3000px; height: 3000px"></div>
</div>
<script>
container.scrollTop = 400;
</script>