layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-block-page-break-inside-avoid-9.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:975883802446
1 <!DOCTYPE html>
2 <html lang="en-US" class="reftest-print">
3 <head>
4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title>
5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside">
7 <meta name="flags" content="paged">
8 <style type="text/css">
9 @page { size:5in 3in; margin:0.5in; }
10 p { height: 1in; width: 1in; margin:0; background-color:blue; }
11 .test { page-break-inside:avoid; }
12 </style>
13 </head>
14 <body>
15 <div class="test">
16 <p>1</p>
17 <div style="page-break-before:always"><p>2</p><p>3</p></div>
18 </div>
19
20 </body>
21 </html>

mercurial