column-height-004.html (899B)
1 <!DOCTYPE html> 2 <title>auto column-height and column-wrap, fixed height</title> 3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch"> 5 <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="position:relative; width:100px; height:100px; background:red;"> 9 <div style="columns:2; column-fill:auto; height:30px; gap:5px 0; column-wrap:wrap;"> 10 <div style="height:180px; background:green;"></div> 11 <div style="position:absolute; left:0; top:30px; width:100px; height:5px; background:green;"></div> 12 <div style="position:absolute; left:0; top:65px; width:100px; height:5px; background:green;"></div> 13 </div> 14 </div>