summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html
blob: 8c840a06d82367720b30312bf761d8f430192aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}
div {
  position: absolute;
}
</style>
<div style="background: red; width: 100%; height: 100%;"></div>
<div style="background: green; width: 50%; height: 50%;"></div>