1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: page-break-after: left</title>
5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-break-props">
7 <link rel="help" href="http://www.w3.org/TR/css3-page/#pg-br-before-after">
8 <meta name="assert" content="The 'left' value of the 'page-break-after' property forces one or two page breaks before the box so that the page after the break is formatted as a left page">
9 <meta name="flags" content="paged">
10 <style type="text/css">
11 @page {margin: 7%;}
12 @page :right {
13 @top-center
14 {
15 content: "[This page intentionally left blank]";
16 }
17 }
18 @page :first {
19 @top-center
20 {
21 content: "";
22 }
23 }
24 p {
25 page-break-after: left;
26 }
27 </style>
28 </head>
29 <body>
30 <p>When printed, this test produces 4 or 5 pages of output. The next page may or may not be blank.</p>
31 <p>If the previous page was not blank, there should be a blank page after this sentence.</p>
32 <p>This content should appear on the fourth page.</p>
33 </body>
34 </html>