always-balancing-before-column-span.html (1027B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 5 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 6 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> 7 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4689"> 8 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 9 <meta name="assert" content="This test verifies columns are always balancing before column-spanning element in an unconstrained height and column-fill:auto column container."> 10 11 <style> 12 .columns { 13 column-fill: auto; 14 column-count: 2; 15 column-gap: 0; 16 width: 100px; 17 background: red; 18 } 19 .colspan { 20 column-span: all; 21 } 22 .content { 23 height: 200px; 24 background: green; 25 } 26 </style> 27 28 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 29 <div class="columns"> 30 <div class="content"></div> 31 <div class="colspan"></div> 32 </div> 33 </html>