summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/break-before-second-row.html
blob: 3a8d307aa504e106b0756f03e0a9e4e79ab5e922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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="help" href="https://www.w3.org/TR/CSS22/tables.html#table-display">
<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; column-fill:auto; line-height:20px; width:100px; height:100px; background:green;">
  <div style="height:40px;"></div>
  <div style="position:relative; z-index:-1; display:table; border-spacing:0 20px; width:100%; background:red;">
    <div style="display:table-row;">
      <br>
    </div>
    <div style="display:table-row;">
      <div style="height:80px; background:red;">
        <br>
      </div>
    </div>
  </div>
</div>