summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/overflow-region-ref.html
blob: 899bc559072f07c8f491417fda3cdac4ec63eeae (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: green; width: 100%; height: 100%;"></div>
<div style="background: blue; width: 50%; height: 50%;"></div>