summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/display-flow-root-002-ref.html
blob: 014380f96ea60844ba3b148b529a7db354ed2103 (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>
<meta charset="utf-8">
<title>Reference for CSS Display Test</title>
<style>
  .float {
    background-color: blue;
    width: 250px;
    height: 100px;
  }
  .left { float: left; }
  .right { float: right; }

  #outer { position: relative; width: 400px; }

  #zerowidth {
    position: absolute;
    top: 100px;
    left: 250px;
    width: 0;
    outline: 1px solid black;
    height: 200px;
  }
</style>
<div id="outer">
  <div class="float right"></div>
  <div class="float left"></div>
  <div id="zerowidth"></div>
</div>