widows-orphans-016-ref.html (853B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reftest Reference</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <style> 10 div 11 { 12 border: orange solid 4px; 13 font-size: 20px; 14 height: 104px; 15 line-height: 1.3; /* computes to 26px */ 16 margin-bottom: 1em; 17 padding: 0.5em; /* computes to 10px */ 18 width: 460px; 19 20 columns: 4 auto; 21 22 column-fill: auto; 23 24 column-gap: 1em; /* computes to 20px */ 25 26 column-rule: blue solid 4px; 27 28 orphans: 1; 29 widows: 1; 30 } 31 </style> 32 33 <p>Test passes if the digits inside both orange-bordered rectangles are <strong>distributed identically</strong>. 34 35 <div>1<br>2<br>3<br>4<br>5<br>6<br>7<br><br>8<br>9</div> 36 37 <div>1<br>2<br>3<br>4<br>5<br>6<br>7<br><br>8<br>9</div>