summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/floats-aspect-ratio-001-ref.html
blob: 734522a16417a8efaaa0df5c92ff3d8ca9102f9d (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<title>CSS aspect-ratio reference: block formatting context with floats</title>

<div style="width: 200px; border: solid 1px; display: flow-root;">
  <div style="float: left; width: 50px; height: 50px; background: lime;"></div>
  <div style="float: right; width: 50px; height: 50px; background: hotpink;"></div>
  <div style="float: left; width: 160px; height: 50px; background: aqua;"></div>
  <div style="float: right; width: 40px; height: 40px; background: orange;"></div>
</div>