tor-browser

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

overflow-clip-content-visual-overflow-ref.html (790B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>Overflow: verifies content visual overflow is shown</title>
      4 <link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
      5 <link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
      6 <style>
      7  body {
      8    margin: 0
      9  }
     10 
     11  .shadow {
     12    width: 100px;
     13    height: 100px;
     14    will-change: transform;
     15    background: black;
     16    box-shadow: 10px 50px 5px red;
     17  }
     18 
     19  .cover {
     20    width: 200px;
     21    height: 200px;
     22    background: white;
     23    position: absolute;
     24  }
     25 
     26  .spacer {
     27    width: 100px;
     28    height: 150px;
     29  }
     30 </style>
     31 <div class="shadow"></div>
     32 <div class="cover" style="left: 100px; top: 0"></div>
     33 <div class="spacer"></div>
     34 <div class="shadow"></div>
     35 <div class="cover" style="top: 350px"></div>
     36 </script>