summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/345369-2-ref.html
blob: 76d999dcfa3ff8c7e5a15cee3b7f5c372a645c56 (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: 1em; 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: 1em; height: 1em; width: 4em; background: maroon; vertical-align: bottom"></span>
  <span style="position: absolute; top: 1em; left: 5em; height: 3em; width: 4em; background: maroon; vertical-align: bottom"></span>

</div>