tor-browser

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

665597-1-ref.html (544B)


      1 <!DOCTYPE HTML>
      2 <title>Test that overflowing margins and padding on scrollable element add</title>
      3 <style>
      4 #scroll {
      5  overflow: scroll; background: yellow;
      6  height: 111px; width: 116px;
      7 }
      8 
      9 #content {
     10  height: 223px;
     11  margin-right: 5px;
     12  margin-left: 11px;
     13  background: aqua;
     14 }
     15 #gap {
     16  /* In test file: #content's margin-bottom: 35px + #scroll's padding-bottom: 7px */
     17  height: 42px;
     18 }
     19 
     20 </style>
     21 <div id="scroll"><div id="content"></div><div id="gap"></div></div>
     22 <script>
     23 document.getElementById("scroll").scrollTop = "1000";
     24 </script>