summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size-ref.html
blob: 0d2cddeff138e397a2db6192953d055b83416dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html reftest-async-scroll
      reftest-async-scroll-x="800"
      reftest-async-scroll-y="0"
      reftest-displayport-w="1600"
      reftest-displayport-h="2000"
      reftest-displayport-x="0"
      reftest-displayport-y="0">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<style>
  html,body {
    margin: 0;
    width: 1600px;
    height: 2000px;
  }
</style>
<div style="position: relative; width: 100%; height: 100%;">
  <div style="position: absolute; top: 0; right: 0; width: 100px; height: 100px; background-color: green"></div>
</div>
</html>