summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/break-before-table-cell-child.html
blob: 3f07edf9ae9ec224dee03818595ece8b897920a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-break-3/#forced-breaks">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="columns: 2; column-fill: auto; gap: 0; width: 100px; height: 200px;">
  <div style="background: green; height: 100px;"></div>
  <div style="background: green; height: 100px; width: 100%; display: table; break-before: avoid;">
    <div style="display: table-cell;"></div>
    <div style="display: table-cell;">
      <div style="break-before: column;"></div> <!-- Should be propagated to the outer table. -->
    </div>
  </div>
</div>