tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

float-page-break-inside-avoid-9-print.html (962B)


      1 <!DOCTYPE html>
      2 <html lang="en-US">
      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  <link rel="match" href="float-page-break-inside-avoid-9-print-ref.html">
      8  <meta name="flags" content="paged"><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 
     14 .test {
     15  page-break-inside:avoid;
     16  height:60%;
     17  float:left;
     18  clear:left;
     19  background-color:blue;
     20 }
     21 .ib {
     22  display:inline-block;
     23  height:100%;
     24  width:1px;
     25 }
     26 </style>
     27 </head>
     28 <body>
     29 <br style="clear:both">
     30 <div class="test">1</div>
     31 <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>
     32 </body>
     33 </html>