tor-browser

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

clip-path-contentBox-1c.html (937B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Masking: clip-path: clip path content-box</title>
      6    <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
      7    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      8    <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
      9    <link rel="match" href="clip-path-geometryBox-1-ref.html">
     10    <meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-376">
     11    <meta name="assert" content="Test checks whether clip-path content-box works correctly or not.">
     12  </head>
     13  <style>
     14    svg {
     15      position: absolute;
     16      left: 10px;
     17      top: 10px;
     18      width: 100px;
     19      height: 100px;
     20      padding: 40px;
     21      clip-path: circle(farthest-side) content-box;
     22    }
     23  </style>
     24  <body>
     25    <svg width="200" height="200">
     26      <rect x="0" y="0" width="200" height="200" fill="blue"/>
     27    </svg>
     28  </body>
     29 </html>