tor-browser

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

clip-path-contentBox-1a.html (953B)


      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="assert" content="Test checks whether clip-path content-box works correctly or not. This test is for clip-path applied to an HTML element.">
     11    <meta name="fuzzy" content="maxDifference=0-62; totalPixels=0-420">
     12    <style>
     13      div {
     14        background-color: blue;
     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  </head>
     25  <body>
     26    <div></div>
     27  </body>
     28 </html>