column-balancing-paged-001-print.html (1221B)
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 in paginated context</title> 5 <link rel="match" href="column-balancing-paged-001-print-ref.html"> 6 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 7 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 8 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> 9 <link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules"> 10 11 <style> 12 :root { 13 print-color-adjust: exact; 14 } 15 .outer { 16 column-count: 1; 17 column-rule: 6px solid black; 18 } 19 .inner { 20 column-count: 2; 21 column-rule: 3px solid green; 22 background-color: lightgreen; 23 } 24 .block1 { 25 background-color: yellow; 26 height: 3in; 27 } 28 .spanner { 29 column-span: all; 30 height: 2in; 31 background-color: lightblue; 32 } 33 .block2 { 34 background-color: pink; 35 height: 3in 36 } 37 </style> 38 39 <article class="outer"> 40 <article class="inner"> 41 <div class="block1">block1</div> 42 <div class="spanner">spanner</div> 43 <div class="block2">block2</div> 44 </article> 45 </article> 46 </html>