column-height-013.html (1286B)
1 <!DOCTYPE html> 2 <title>column-height, column-wrap, spanner</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 <style> 8 .row_gap_filler { 9 position: absolute; 10 width: 100px; 11 height: 10px; 12 background: green; 13 } 14 </style> 15 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 16 <div style="position:relative; width:100px; height:100px; background:red;"> 17 <div style="columns:2; column-height:20px; column-wrap:wrap; gap:10px 0;"> 18 <div style="background:green;"> 19 <div style="height:10px;"></div> 20 <div style="column-span:all; height:5px; background:green;"></div> 21 <div style="height:30px;"></div> 22 <div style="column-span:all; height:15px; background:green;"></div> 23 <div style="column-span:all; height:15px; background:green;"></div> 24 <div style="height:30px;"></div> 25 </div> 26 </div> 27 <div class="row_gap_filler" style="top:20px;"></div> 28 <div class="row_gap_filler" style="top:50px;"></div> 29 <div class="row_gap_filler" style="top:80px;"></div> 30 </div>