Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / CSS2 / pagination / page-break-before-004.xht
blob674ed0b4b93bc6d849976f549f4f42fbfad714b0
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-before (no inherit)</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 'page-break-before' property is not inherited."/>
10 <style type="text/css">
11         div.kidsIgnoreMe {
12                 page-break-before: always;
13         }
14 </style>
15 </head>
16 <body>
17 <div class="kidsIgnoreMe">
18         <div>This test produces one or two pages of output on paged media. This sentence must be on the same page as the next sentence.</div>
19         <p>This sentence must appear on the same page as the text above.</p>
20 </div>
21 </body>
22 </html>