summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/resolution-change-on-landscape-content-ref.html
blob: d2058d48eecf9ad1153eeec9727e3a378dcc6804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
html {
  background-color: green;
}
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  scrollbar-width: none; /* avoid drawing scrollbars */
}
#quarter-height {
  background-color: red;
  width: 100%;
  height: 25%;
  position: absolute;
}
</style>
<div id="quarter-height"></div>