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

branch
TOR_BUG_9701
changeset 12
7540298fafa1
equal deleted inserted replaced
-1:000000000000 0:cf0b7af4df2f
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 tr { page-break-before:always; }
13 </style>
14 </head>
15 <body>
16 <p>1</p>
17 <table class="test" border="1">
18 <tr><td>I have page-break-after: always</td></tr>
19 <tr><td>I have page-break-after: always</td></tr>
20 <tr><td>I have page-break-after: always</td></tr>
21 </table>
22
23 </body>
24 </html>

mercurial