page-break-after-005.xht (1085B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: page-break-after: initial value</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="flags" content="paged" /> 9 <meta name="assert" content="The initial value of the 'page-break-after' property is 'auto'."/> 10 <style type="text/css"> 11 html, body { 12 height:100%; 13 line-height:1; 14 } 15 * { 16 margin:0; 17 padding:0; 18 page-break-after: inherit; 19 } 20 div { 21 height: 100%; 22 margin-bottom: -6em; 23 } 24 </style> 25 </head> 26 <body> 27 <div>This test requires two pages. The dummy text below this will flow onto a second page.</div> 28 29 <p> 30 dummy <br /> 31 dummy <br /> 32 dummy <br /> 33 dummy <br /> 34 dummy <br /> 35 dummy <br /> 36 dummy <br /> 37 dummy <br /> 38 dummy <br /> 39 dummy <br /> 40 dummy <br /> 41 dummy <br /> 42 </p> 43 </body> 44 </html>