summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/repeated-section/variable-fragmentainer-size-001.html
blob: f75a8cf216e9a7b03c4d92022b9a1fc880bc9e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1378294">
<link rel="match" href="variable-fragmentainer-size-001-ref.html">
<p>There should be three blue squares and three hotpink ones.</p>
<!-- The first two inner fragmentainers are tall enough to allow a 20px tall
  table header / footer, but the last one isn't. -->
<div style="columns:3; width:300px; gap:0; column-fill:auto; height:100px;">
  <div style="columns:1; column-fill:auto; height:250px;">
    <div style="display:table;">
      <div style="display:table-header-group; break-inside:avoid;">
        <div style="width:20px; height:20px; background:blue;"></div>
      </div>
      <div style="display:table-footer-group; break-inside:avoid;">
        <div style="width:20px; height:20px; background:hotpink;"></div>
      </div>
      <div style="height:130px;"></div>
    </div>
  </div>
</div>