summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/345369-5-ref.html
blob: a38cc580ad19413340d529e41f659fcf63c2ec88 (plain)
1
2
3
4
5
6
7
8
9
10
<title>Ambiguous line width</title>

<div style="background: yellow; width: 10em; height: 10em; position: relative">
  <div style="position: absolute; top: 0; left: 0; height: 2em; width: 2em; background: blue"></div>
  <div style="position: absolute; top: 2em; left: 0; height: 2em; width: 5em; background: aqua"></div>

  <span style="position: absolute; top: 0; left: 2em; height: 1em; width: 2em; background: maroon; vertical-align: bottom"></span>
  <span style="position: absolute; top: 4em; left: 0; height: 3em; width: 6em; background: maroon; vertical-align: bottom"></span>

</div>