tor-browser

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

attachment-local-clipping-image-5.html (806B)


      1 <!doctype html>
      2 <title>CSS Test: background-{attachment: local; clip: padding-box; image}; border-radius</title>
      3 <link rel="match" href="attachment-local-clipping-image-4-ref.html" />
      4 <meta name="flags" content="dom" />
      5 <meta name=fuzzy content="0-10;0-300">
      6 <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
      7 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-attachment" />
      8 <style>
      9 #outer {
     10  width: 200px;
     11  height: 200px;
     12  padding: 40px;
     13  border: 10px double;
     14  overflow: hidden;
     15  border-radius: 50%;
     16  background: url(aqua-yellow-32x32.png) local padding-box;
     17 }
     18 #outer div {
     19  height: 500px;
     20 }
     21 p {
     22  margin-top: 20px;
     23 }
     24 </style>
     25 <div id=outer>
     26  <div>
     27    <p>Test</p>
     28  </div>
     29 </div>
     30 <script>
     31 document.getElementById('outer').scrollTop = 15;
     32 </script>