summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-001.html
blob: 8f74878187a59dee3d060f14ee653264ae6e67f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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/#unforced-breaks">
<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; column-gap:0; width:100px; height:50px; background:red;">
  <div>
    <div style="display:inline-block; vertical-align:top; width:50px; height:100px; background:green;"></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;">
    <div style="display:inline-block; vertical-align:top; width:50px; height:100px; background:green;"></div>
  </div>
</div>