tor-browser

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

page-break-before-020.xht (1028B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Paged media - page-break-before on floats</title>
      5   <link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.com" />
      6   <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-break-props" />
      7   <link rel="help" href="http://www.w3.org/TR/css3-page/#pg-br-before-after" />
      8   <meta name="flags" content="paged" />
      9   <meta name="assert" content="The 'page-break-before' property applies to floated block-level elements in normal flow." />
     10   <style type="text/css">
     11 
     12    #floated {
     13      float: right;
     14      page-break-before: always;
     15      width: 50%;
     16    }
     17 
     18  </style>
     19  </head>
     20  <body>
     21    <div>
     22    <p>This test produces two pages when displayed on paged media.  This paragraph is the only content on page one.</p>
     23    <div id="floated">This paragraph is on page two and is entirely on the right side of the page.</div>
     24    </div>
     25  </body>
     26 </html>