multicol-breaking-006.html (1407B)
1 <!DOCTYPE HTML> 2 <title>CSS Test: breaking of a multicolumn</title> 3 <meta charset="utf-8"> 4 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="https://mozilla.org/"> 7 <link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules"> 8 <link rel="help" href="https://drafts.csswg.org/css-multicol/#cf"> 9 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309"> 10 <link rel="match" href="multicol-breaking-006-ref.html"> 11 <style> 12 13 .outer { 14 height: 100px; 15 column-fill: auto; 16 width: 800px; 17 column-count: 4; 18 column-rule: 4px solid blue; 19 column-gap: 16px; 20 background: rgba(0, 0, 255, 0.3); 21 } 22 23 .inner { 24 column-count: 2; 25 column-rule: 2px solid fuchsia; 26 column-gap: 16px; 27 background: rgba(255, 0, 255, 0.3); 28 font: 16px/1.25 sans-serif; 29 border-bottom: 20px solid green; 30 } 31 32 </style> 33 34 <!-- This test is adapted from multicol-breaking-001.html. 35 The inner column is changed to have "height:auto" and border-bottom. --> 36 <div class="outer"> 37 <div class="inner" style="height: auto"> 38 AAAAA<br> 39 BBBBB<br> 40 CCCCC<br> 41 DDDDD<br> 42 EEEEE<br> 43 FFFFF<br> 44 GGGGG<br> 45 HHHHH<br> 46 IIIII<br> 47 JJJJJ<br> 48 KKKKK<br> 49 LLLLL<br> 50 MMMMM<br> 51 NNNNN<br> 52 OOOOO<br> 53 PPPPP<br> 54 QQQQQ 55 </div> 56 </div>