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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:d4ef0401e5a8
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"><style type="text/css">
8 @page { size:5in 3in; margin:0.5in; }
9 html,body {
10 color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%;
11 }
12
13 .test {
14 page-break-inside:avoid;
15 height:60%;
16 float:left;
17 clear:left;
18 background-color:blue;
19 }
20 </style>
21 </head>
22 <body>
23 <br style="clear:both">
24 <div class="test">1</div>
25 <div style="height:60%;clear:both;"><div class="test" style="height:100%;">2</div>X<br>Y</div>
26 </body>
27 </html>

mercurial