summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/table-internal-8-ref.html
blob: 3bff829deb36893cf989f5866a9d597c34fcbb31 (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
<!DOCTYPE html>
<html>
  <head>
    <style>
      #good {
        background-color: green;
      }
      .abs {
        position: fixed;
        margin: 0;
        padding: 0;
        top: 25px;
        left: 25px;
        width: 50px;
        height: 50px;
        background-color: green;
      }
    </style>
  </head>
  <body>
    The green square should completely cover the red square.
    <div class="abs" id="good"></div>
  </body>
</html>