tor-browser

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

single-line-column-flex-fragmentation-066-print-ref.html (794B)


      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=1744363">
      8 
      9  <style>
     10  @page { size: 5in 3in; margin: 0.5in; }
     11  body {
     12    margin: 0;
     13  }
     14  .flexbox {
     15    display: block;
     16    border: 0.25in solid black;
     17  }
     18  .text {
     19    block-size: 0.25in;
     20  }
     21  </style>
     22 
     23  <div class="text">Before Flexbox</div>
     24  <div class="flexbox">
     25    <div>
     26      <div>1</div>
     27      <div style="break-after: page">2</div>
     28      <div>3</div>
     29      <div>4</div>
     30    </div>
     31  </div>
     32  <div class="text">After Flexbox</div>
     33 </html>