summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/multi-line-column-flex-fragmentation-052.html
blob: 9496418e857391718041d52ad19c2b9545068877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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=1381118">
<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>
<div style="width:100px; height:100px; background:red;">
  <div style="columns:2; column-fill:auto; gap:0; height:150px;">
    <div style="display:flex; flex-direction:column; flex-wrap:wrap; height:250px;">
      <div style="width:50px; height:75px; background:green;"></div>
      <div style="width:50px; height:25px; background:green;"></div>
      <div style="width:50px; height:25px; background:green;">
        <div style="height:100px;"></div>
      </div>
      <div style="break-before:avoid; break-inside:avoid; height:55px; background:green;"></div>
      <div style="width:50px; height:20px; background:green;"></div>
      <div style="height:200px;"></div>
    </div>
  </div>
</div>