tor-browser

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

float-with-large-margin-bottom-cross-page-002-print.html (891B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
      4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      6 <link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
      7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1464761">
      8 <link rel="match" href="float-with-large-margin-bottom-cross-page-002-print-ref.html">
      9 
     10 <style>
     11 @page { size:5in 3in; margin:0.5in; }
     12 
     13 :root {
     14  print-color-adjust: exact;
     15 }
     16 
     17 html, body {
     18  margin: 0;
     19 }
     20 </style>
     21 
     22 <div style="height: 1.5in; background: black">
     23  <!-- This "greedy div" exists to eat up most of the space on the first page. -->
     24 </div>
     25 <div style="float: left; background: gray; break-inside: avoid;
     26            width: 2in; height: 0.5in; margin-bottom: 1in"></div>