summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/relative-float-1.html
blob: 9a25418eb0c5e65cd14ae564f1700300ac618035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
  <head>
    <style>
      div {
        float: left;
        position: relative;
        top: 20px;
        left: 20px;
        height: 100px;
        width: 100px;
        background: blue;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>