summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-span-all-children-height-012.html
blob: 49437f027c13092d6d03d7cf26d6f79b05039cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
<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="width:100px; height:100px; background:red;">
  <div style="columns:2; gap:0;">
    <div style="height:0;">
      <div style="height:60px; background:green;"></div>
      <div style="column-span:all; height:50px; background:green;"></div>
    </div>
    <div style="position:relative; height:40px;">
      <div style="position:absolute; left:0; top:0; width:100%; height:40px; background:green;"></div>
    </div>
  </div>
</div>