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

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:2278601a4b90
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 <meta name="flags" content="paged"><style type="text/css">
7 @page { size:5in 3in; margin:0.5in; }
8 html,body {
9 color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%;
10 }
11
12 .test {
13 height:60%;
14 float:left;
15 clear:left;
16 background-color:blue;
17 }
18 .ib {
19 display:inline-block;
20 height:100%;
21 width:1px;
22 }
23 </style>
24 </head>
25 <body>
26 <br style="clear:both">
27 <div class="test" style="page-break-after:always">1</div>
28 <div style="height:60%;clear:both;">A<div class="test" style="height:100%;">2</div><span>X<span class="ib"></span><br>Y</span></div>
29 </body>
30 </html>

mercurial