multicol-span-all-children-height-007.html (1401B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test: Test fragmentation for a nested multi-column container with column-span</title> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 7 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> 8 <link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules"> 9 <link rel="match" href="multicol-span-all-children-height-007-ref.html"> 10 <meta name="assert" content="This test verifies a nested multi-column container with non-auto height and column-span child can be fragmented."> 11 12 <style> 13 .outer { 14 column-count: 2; 15 column-rule: 6px solid black; 16 width: 400px; 17 height: 110px; 18 } 19 .inner { 20 column-count: 2; 21 column-rule: 3px solid green; 22 height: 270px; 23 background-color: lightgreen; 24 border: 10px solid purple; 25 } 26 .block1 { 27 background-color: yellow; 28 height: 200px; 29 } 30 .spanner { 31 column-span: all; 32 height: 50px; 33 background-color: lightblue; 34 } 35 .block2 { 36 background-color: yellow; 37 height: 240px; 38 } 39 </style> 40 41 <article class="outer"> 42 <article class="inner"> 43 <div class="block1">block1</div> 44 <div class="spanner">spanner</div> 45 <div class="block2">block2</div> 46 </article> 47 </article> 48 </html>