summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/trailing-child-margin-000.html
blob: d204483a33ebff421cf9f3da9fab2d1183fcd1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#break-margins">
<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-gap:0; width:100px; column-fill:auto; height:100px; background:red;">
  <div style="display:flow-root; background:green;">
    <div style="height:70px; margin-bottom:50px;"></div>
  </div>
  <!-- We're at the very beginning of the second column here, so inserting a
       forced break will have no effect. -->
  <div style="break-before:column; height:100px; background:green;"></div>
</div>