blob: 773f25edd5c7b6015c8d2185c0f6dca8a189aeb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<title>column-height, column-wrap, spanner</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr">
<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="position:relative; width:100px; height:100px; background:red;">
<div style="columns:2; column-fill:auto; column-height:10px; column-wrap:wrap; gap:10px 0;">
<div style="background:green;">
<div style="height:40px;"></div>
<div style="column-span:all; height:10px; background:green;"></div>
<div style="height:20px;"></div>
<div style="column-span:all; height:10px; background:green;"></div>
<div style="height:40px;"></div>
<div style="column-span:all; height:10px; background:green;"></div>
</div>
</div>
<div style="position:absolute; top:10px; left:0; width:100px; height:10px; background:green;"></div>
<div style="position:absolute; top:70px; left:0; width:100px; height:10px; background:green;"></div>
</div>
|