column-height-002.html (871B)
1 <!DOCTYPE html> 2 <title>column-height and column-wrap, with gaps, auto 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; columns:2; column-fill:auto; width:100px; gap:10px 20px; column-height:45px; column-wrap:wrap; background:red;"> 9 <div style="position:absolute; left:0; top:45px; width:100%; height:10px; background:green;"></div> 10 <div style="position:absolute; left:40px; top:0; width:20px; height:100px; background:green;"></div> 11 <div style="height:180px; background:green;"></div> 12 </div>