| <!DOCTYPE html> |
| <script> |
| if (window.testRunner) |
| testRunner.setPrinting(); |
| </script> |
| <style> |
| .carddiv { break-before:page; width:200px; height:200px; border:1px solid; background:hotpink;} |
| @media print { #container { width: 105%; } } |
| </style> |
| <p>When printed, there should be a square at the top of each page, except for this page.</p> |
| <div id="container"> |
| <div class="carddiv">Top of page?</div> |
| <div class="carddiv">Top of page?</div> |
| <div class="carddiv">Top of page?</div> |
| <div class="carddiv">Top of page?</div> |
| <div class="carddiv">Top of page?</div> |
| <div class="carddiv">Top of page?</div> |
| </div> |