| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 .container { | 3 .container { |
| 4 overflow: -webkit-paged-x; | 4 overflow: -webkit-paged-x; |
| 5 float: left; | 5 float: left; |
| 6 width: 5em; | 6 width: 5em; |
| 7 height: 5em; | 7 height: 5em; |
| 8 line-height: 2em; | 8 line-height: 2em; |
| 9 margin: 2px; | 9 margin: 2px; |
| 10 border: 1px solid hotpink; | 10 border: 1px solid hotpink; |
| 11 column-gap: 0; /* See crbug.com/460106 */ | 11 column-gap: 0; /* See crbug.com/460106 */ |
| 12 orphans: 1; |
| 13 widows: 1; |
| 12 } | 14 } |
| 13 </style> | 15 </style> |
| 14 <p>There should be 7 boxes below. Each should contain the word "PASS" | 16 <p>There should be 7 boxes below. Each should contain the word "PASS" |
| 15 once, and no "FAIL". Scrollbars may or may not be present. The | 17 once, and no "FAIL". Scrollbars may or may not be present. The |
| 16 exact position of the word "PASS" will vary from box to box.</p> | 18 exact position of the word "PASS" will vary from box to box.</p> |
| 17 <div class="container"> | 19 <div class="container"> |
| 18 <div>PASS<br></div> | 20 <div>PASS<br></div> |
| 19 <div style="break-before:page;">FAIL</div> | 21 <div style="break-before:page;">FAIL</div> |
| 20 </div> | 22 </div> |
| 21 <div class="container"> | 23 <div class="container"> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 FAIL<br> | 46 FAIL<br> |
| 45 </div> | 47 </div> |
| 46 </div> | 48 </div> |
| 47 <div class="container"> | 49 <div class="container"> |
| 48 <br> | 50 <br> |
| 49 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff
ect --> | 51 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff
ect --> |
| 50 PASS<br> | 52 PASS<br> |
| 51 <br> | 53 <br> |
| 52 </div> | 54 </div> |
| 53 </div> | 55 </div> |
| OLD | NEW |