summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/inline-with-float-004.html
blob: 6b404d9570005a327bd0943334ca518b479e5175 (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
31
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1113185">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<style>
  .ib {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: 25px;
    background: green;
  }
</style>
<div style="display:flow-root; width:100px; height:100px; background:red;">
  <div style="columns:5; column-fill:auto; gap:0; margin-top:100px; height:100px; orphans:1; widows:1;">
    <div style="position:relative; top:-100px; height:150px; background:green;"></div>
    <span style="position:relative; top:-100px; ">
      <div style="float:left; break-inside:avoid; width:100%; height:125px; background:green;"></div>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
      <div class="ib"></div><br>
    </span>
  </div>
</div>