Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / css2.1 / page-break-after-000.html
blob0ba3ef2c60fd1f0ad721f7efac06a28b380124dd
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
5 <title>CSS Test: page-break-after: always</title>
6 <link rel="author" href="mailto:mturnwall@revenution.com" title="Michael Turnwall">
7 <link rel="author" href="http://www.hp.com/" title="Hewlett-Packard Company">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-break-props">
9 <meta content="paged" name="flags">
10 <meta content="The 'always' value of the 'page-break-after' property forces a page break after the box." name="assert">
11 <style type="text/css">
13 div.break {
14 page-break-after:always;
17 </style>
18 <script src="../resources/paged-media-test-utils.js"></script>
19 <script>
21 if (window.testRunner)
22 testRunner.dumpAsText();
24 function test()
26 pageNumberForElementShouldBe('test', 1);
27 numberOfPagesShouldBe(2);
30 </script>
31 </head>
32 <body onload="runPrintingTest(test)">
33 <div class="break">There must be a page break after this paragraph, followed by another line of content. This test should produce two pages of output.</div>
34 <div id="test">
35 This text should be at the top of the second and final page.
36 </div>
37 </body>
38 </html>