multicol-fill-balance-nested-000.html (953B)
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-multicol-1/#filling-columns"> 5 <link rel="help" href="https://www.w3.org/TR/css-break-3/#break-within"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 #outer, #outer div { background: green; } 9 #inner * { break-inside: avoid; } 10 </style> 11 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 12 <div id="outer" style="columns:2; column-gap:0; column-fill:auto; width:100px; height:100px;"> 13 <div id="inner" style="columns:2; column-gap:0;"> 14 <div style="height:50px;"></div> 15 <div style="height:100px;"> 16 <div style="margin-left:100%; width:100%; height:50px; background:red;"></div> 17 </div> 18 <div style="height:50px;"></div> 19 </div> 20 </div>