moz-multicol3-column-balancing-break-inside-avoid-1-ref.html (956B)
1 <!DOCTYPE HTML> 2 <html><head> 3 <title>CSS Test: Balancing Overflow, page-break-inside:avoid</title> 4 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012"> 5 <meta name="flags" content="paged"> 6 <meta charset="utf-8"> 7 <style type="text/css"> 8 @page { size:5in 3in; margin:0.5in; } 9 10 html,body { 11 color:black; background-color:white; font-size:16px; padding:0; margin:0; 12 } 13 14 .colset { 15 column-count: 3; 16 column-gap: 0; 17 border: solid silver; 18 width: 9em; 19 } 20 p { margin: 0; } 21 .short { height: 5px; } 22 .short p { } 23 24 </style> 25 </head> 26 <body> 27 28 <div class="colset"> 29 <p>one<br> </p> 30 <p>two three</p> 31 <p>four five</p> 32 </div> 33 34 <div class="colset"> 35 <p>one two three four five</p> 36 </div> 37 38 <div class="colset"> 39 one two three four five 40 </div> 41 42 <div class="colset"> 43 <div class="short"><p>one two three four five</p></div> 44 </div> 45 46 </body> 47 </html>