summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/monolithic-content-with-forced-break-001.html
blob: 75b676d0ba08ab831d100ba1bc3bb87c62142abf (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-break-3/#monolithic">
<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:balance; gap:0; width:100px; background:red;">
  <div style="contain:size; height:50px; width:50px;">
    <div style="height:50px; background:green; break-after:column;"></div>
  </div>
  <div style="width:50px; height:150px; background:green;"></div>
</div>