summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/fragmented-autowidth-fc-root-beside-floats-ref.html
blob: 5effc82452da07054ca2c3e2d74e3a9b0f84d9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  .fakecolumn {
    float: left;
    width: 200px;
    height: 100px;
    margin-left: 10px;
  }
  .fakecolumn:first-child {
    margin-left: 0;
  }
  .part {
    height: 100px;
    background: hotpink;
  }
</style>
<p>There should be (from left to right) a hotpink square, a thin hotpink
  rectangle, then a wider hotpink rectangle.</p>
<div style="width:620px; height:100px;">
  <div class="fakecolumn">
    <div class="part" style="width:100px;"></div>
  </div>
  <div class="fakecolumn">
    <div class="part" style="width:10px;"></div>
  </div>
  <div class="fakecolumn">
    <div class="part" style="width:200px;"></div>
  </div>
</div>