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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html lang="en-US" class="reftest-print">
michael@0 3 <head>
michael@0 4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title>
michael@0 5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012">
michael@0 6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside">
michael@0 7 <meta name="flags" content="paged"><style type="text/css">
michael@0 8 @page { size:5in 3in; margin:0.5in; }
michael@0 9 html,body {
michael@0 10 color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%;
michael@0 11 }
michael@0 12
michael@0 13 .test {
michael@0 14 page-break-inside:avoid;
michael@0 15 height:60%;
michael@0 16 float:left;
michael@0 17 clear:left;
michael@0 18 background-color:blue;
michael@0 19 }
michael@0 20 .ib {
michael@0 21 display:inline-block;
michael@0 22 height:100%;
michael@0 23 width:1px;
michael@0 24 }
michael@0 25 </style>
michael@0 26 </head>
michael@0 27 <body>
michael@0 28 <br style="clear:both">
michael@0 29 <div class="test">1</div>
michael@0 30 <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>
michael@0 31 </body>
michael@0 32 </html>

mercurial