summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/hypothetical-box-scroll-viewport-ref.html
blob: 368da5f6d42e9d1b95cf0a3b875484219d422f0f (plain)
1
2
3
4
5
6
7
<!doctype html>
<meta charset=utf-8>
<div>Modified text</div>
<div style="width: 200vw; height: 10px"></div>
<script>
  window.scrollTo(window.innerWidth * 2, 0);
</script>