multicol-nested-column-rule-002.html (757B)
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/#column-gaps-and-rules"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <style> 6 .multicol { 7 column-fill: auto; 8 column-gap: 4px; 9 column-rule:4px solid green; 10 background:red; 11 } 12 </style> 13 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 14 <div class="multicol" style="columns:2; width:100px; height:100px;"> 15 <div class="multicol" style="columns:4;"> 16 <div style="position:relative; height:450px;"> 17 <div style="position:absolute; width:9px; height:800px; background:green;"></div> 18 </div> 19 </div> 20 </div>