summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html
blob: 153ca9f8dd064d9c7f4ba8e23c6186b84a126c38 (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
<!doctype html>
<html>
  <head>
    <meta charset='utf-8'>
    <style type="text/css" media="all">
      body {
        margin-top: 0;
        overflow: hidden;
      }
      .container {
        width: 500px;
        background: #fcc;
        height: 2000px;
      }
      .header {
        position: sticky;
        top: 0px;
        background: #cfc;
        height: 50px;
      }
    </style>
  </head>
  <body>
    <div class='container'>
      <div class='header'></div>
    </div>
  </body>
</html>