page-break-after-005

page-break-after: initial value

WeasyPrint

This browser

Flags
paged
Assertion
The initial value of the 'page-break-after' property is 'auto'.

Source

 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: 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>