page-name-and-break-001-print.html (626B)
1 <!DOCTYPE html> 2 <html> 3 <title>CSS page name change and break-after: page at the same point.</title> 4 <link rel="author" title="Emily McDonough" href="mailto:emcdonough@mozilla.com"/> 5 <link rel="match" href="page-name-and-break-print-ref.html"/> 6 <link rel="help" href="https://drafts.csswg.org/css-page-3/#page-breaks"/> 7 <meta name="assert" content="Ensure CSS page name change and break-after: page at the same point only causes one page break."/> 8 <style> 9 .a { 10 page: a; 11 break-after: page; 12 } 13 .b { 14 page: b; 15 } 16 </style> 17 <body> 18 <div class="a">AAA</div> 19 <div class="b">BBB</div> 20 </body> 21 </html>