tor-browser

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

scrollbar-gutter-fixedpos-003.html (766B)


      1 <!DOCTYPE html>
      2 <title>CSS Overflow Test: Root element's scrollbar-gutter is accounted for when computing hypothetical box in fixed-pos positioning</title>
      3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1901652">
      6 <link rel="match" href="scrollbar-gutter-fixedpos-003-ref.html">
      7 <style>
      8 :root {
      9  scrollbar-gutter: stable both-edges;
     10 }
     11 body {
     12  margin: 0;
     13 }
     14 .box {
     15  width: 100px;
     16  height: 100px;
     17 }
     18 </style>
     19 
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     21 <div class="box" style="position: fixed; background: green"></div>
     22 <div class="box" style="background: red"></div>