OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .container { |
| 4 overflow: -webkit-paged-x; |
| 5 float: left; |
| 6 width: 5em; |
| 7 height: 5em; |
| 8 line-height: 2em; |
| 9 margin: 2px; |
| 10 border: 1px solid hotpink; |
| 11 column-gap: 0; /* See crbug.com/460106 */ |
| 12 } |
| 13 </style> |
| 14 <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 |
| 16 exact position of the word "PASS" will vary from box to box.</p> |
| 17 <div class="container"> |
| 18 <div>PASS<br></div> |
| 19 <div style="break-before:page;">FAIL</div> |
| 20 </div> |
| 21 <div class="container"> |
| 22 <div style="break-after:page;">PASS<br></div> |
| 23 <div>FAIL</div> |
| 24 </div> |
| 25 <div class="container"> |
| 26 <div style="break-after:column;"><br></div> <!-- declaration should have no
effect --> |
| 27 <div>PASS</div> |
| 28 </div> |
| 29 <div class="container"> |
| 30 <div><br></div> |
| 31 <div style="break-before:column;">PASS</div> <!-- declaration should have no
effect --> |
| 32 </div> |
| 33 <div class="container"> |
| 34 PASS<br> |
| 35 <div style="break-inside:avoid;"> |
| 36 FAIL<br> |
| 37 FAIL<br> |
| 38 </div> |
| 39 </div> |
| 40 <div class="container"> |
| 41 PASS<br> |
| 42 <div style="break-inside:avoid-page;"> |
| 43 FAIL<br> |
| 44 FAIL<br> |
| 45 </div> |
| 46 </div> |
| 47 <div class="container"> |
| 48 <br> |
| 49 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff
ect --> |
| 50 PASS<br> |
| 51 <br> |
| 52 </div> |
| 53 </div> |
OLD | NEW |