summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html
blob: 48f167a9cc2084bb19218a9da54b9a0bb127f66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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">
<style>
  html,body {
    margin: 0;
    width: 800px;
    height: 1000px;
  }
</style>
<div style="position:fixed; top: 0; right: 0; width: 100px; height: 100px; background-color: green"></div>
<div style="width: 1600px; height: 2000px;"></div>
</html>