multicol-nested-018.html (931B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-multicol-1/#the-multi-column-model"> 4 <link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks"> 5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 6 <style> 7 .mc { 8 columns: 2; 9 column-gap: 0; 10 column-fill: auto; 11 } 12 .ib { 13 display: inline-block; 14 vertical-align: top; 15 width: 200%; 16 height: 50px; 17 background: green; 18 } 19 </style> 20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 21 <div style="width:100px; height:100px; background:red;"> 22 <div class="mc" style="height:190px; line-height:50px; orphans:2; widows:2;"> 23 <div style="height:100px; background:green;"></div> 24 <div class="mc"> 25 <div class="ib"></div><br> 26 <div class="ib"></div><br> 27 </div> 28 </div> 29 </div>