tor-browser

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

multi-line-row-flex-fragmentation-080-print-ref.html (845B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      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-flexbox-1/#pagination">
      7  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1743890">
      8 
      9  <style>
     10  @page { size: 5in 3in; margin: 0.5in; }
     11 
     12  :root {
     13    print-color-adjust: exact;
     14  }
     15 
     16  body { margin: 0; }
     17 
     18  .flexbox {
     19    display: block;
     20    border: 0.25in solid black;
     21    font-size: 0.25in;
     22  }
     23  .item {
     24    width: 100%;
     25  }
     26  </style>
     27 
     28  <!-- This div makes the flexbox not at the top of first page. -->
     29  <div style="height: 1in; background: gray;"></div>
     30 
     31  <div class="flexbox">
     32    <div class="item">1<br>2<br>3<br>4</div>
     33    <div class="item">5</div>
     34  </div>
     35 </html>