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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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 html,body {
    11     color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%;
    12 }
    13 p { height:60%; width:90%; margin:0; background-color:blue; border:1px solid black; }
    14 .test { page-break-inside:avoid; float:left; }
    15 </style>
    16 </head>
    17 <body><p>1</p><p class="test">2</p></body>
    18 </html>

mercurial