summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-inline-size-bfc-floats-001-ref.html
blob: 383920cc99e2b4184bde5634143d291bf62579df (plain)
1
2
3
4
5
6
7
8
9
<!doctype html>
<title>CSS Test Reference</title>
<p>You should see a wide orange rectangle to the left of the third float, overlapping the float.</p>
<div style="width:400px;position:relative">
  <div style="float:right;width:200px;height:100px;background:blue"></div>
  <div style="float:left;width:250px;height:100px;background:blue"></div>
  <div style="float:right;width:300px;height:100px;background:blue"></div>
  <div style="position:absolute;left:0;top:200px;width:200px;height:20px;background-color:orange"></div>
</div>