summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-fixed-async-zoom-4-ref.html
blob: 3155a387ce8c0fadcb242825fc16d5751e01e136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=2.0">
  <style>
    html {
      scrollbar-width: none;
    }
    body {
      height: 3000px;
      margin: 0;
    }
    div {
      position: fixed;
      height: 100px;
      width: 100px;
    }
    div.top-left {
      top: 20px;
      left: 20px;
      background: red;
    }
    div.top-right {
      top: 20px;
      right: 20px;
      background: blue;
    }
    div.bottom-left {
      bottom: 20px;
      left: 20px;
      background: green;
    }
    div.bottom-right {
      bottom: 20px;
      right: 20px;
      background: purple;
    }
  </style>
</head>
<body>
  <div class="top-left"></div>
  <div class="top-right"></div>
  <div class="bottom-left"></div>
  <div class="bottom-right"></div>
</body>
</html>