tor-browser

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

page-margin-004-print.html (814B)


      1 <!DOCTYPE html>
      2 <title>Test that a fragmented OOF is sized and posisitioned correctly within the containing block, which is the page box size minus the margins</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://www.w3.org/TR/css-page-3/#at-page-rule">
      5 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1486499">
      6 <link rel="match" href="page-margin-004-print-ref.html">
      7 <style>
      8  @page {
      9    size: 300px;
     10    margin: 10px 20px 30px 40px;
     11  }
     12  :root {
     13    print-color-adjust: exact;
     14  }
     15  body {
     16    margin: 0;
     17  }
     18 </style>
     19 <div style="position:absolute; box-sizing:border-box; width:100%; border:10px solid; background:yellow;">
     20  Page 1
     21  <div style="break-before:page; background:cyan;">
     22    Page 2
     23  </div>
     24 </div>