summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/inside-flex-001.html
blob: db3064fa8c290103d06f919afbdceefd303695b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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=1403509">
<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="columns:2; column-fill:auto; gap:0; width:100px; height:100px; background:red;">
  <div style="display:flex; flex-flow:column;">
    <div style="display:table; width:100%; background:green;">
      <div style="height:60px;"></div>
      <div style="break-inside:avoid; height:80px;"></div>
    </div>
  </div>
  <div style="height:20px; background:green;"></div>
</div>