summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/scroll_into_view_in_child.html
blob: 0e8dd13dda26fc6a3e7165263e6720ade3adf646 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<meta charset=utf-8>
<div id="target">can you see me?</div>
<script>
window.onload = () => {
  target.scrollIntoView();
};
</script>