widows-001-ref.html (955B)
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 <!-- 10 Date created: November 7th 2020 11 Last modified: November 17th 2020 12 --> 13 14 <style> 15 div 16 { 17 border: orange solid 4px; 18 font-size: 20px; 19 line-height: 1.3; /* computes to 26px */ 20 height: 104px; /* Therefore, exactly 4 line boxes */ 21 margin-bottom: 1em; 22 padding: 0.5em; /* computes to 10px */ 23 width: 490px; 24 25 columns: 3 auto; 26 column-fill: auto; 27 column-gap: 1em; /* computes to 20px */ 28 column-rule: blue solid 4px; 29 30 widows: 1; 31 } 32 </style> 33 34 <p>Test passes if the digits inside both orange-bordered rectangles are <strong>distributed identically</strong>. 35 36 <div>1<br>2<br>3<br>4<br>5<br>6<br>7<br><br>8<br>9</div> 37 38 <div>1<br>2<br>3<br>4<br>5<br>6<br>7<br><br>8<br>9</div>