summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-inline-size-bfc-floats-002-ref.html
blob: a7d4bc759aaee0a6ddf6a02c10033c34b6b06417 (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 first 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:0;width:300px;height:20px;background-color:orange"></div>
</div>