tor-browser

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

clip-path-circle-020.html (1051B)


      1 <!--
      2     Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE html>
      6 <html>
      7 <head>
      8  <title>CSS Masking: Test clip-path property and circle function on rectangle 003</title>
      9  <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
     10  <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths">
     11  <link rel="help" href="http://www.w3.org/TR/css-masking-1/#propdef-clip-path">
     12  <link rel="match" href="clip-path-circle-002-ref.html">
     13  <meta name="assert" content="The clip-path property takes the basic shape
     14    circle with a position for clipping of a differently sized rectangle. This
     15    also tests the correct usage of the specified formula:
     16      r = sqrt(width^2 + height^2)
     17    On pass you should see a green circle.">
     18 </head>
     19 <body>
     20  <p>The test passes if there is a green circle.</p>
     21  <div style="width: 60px; height: 80px; padding: 60px 70px 60px 70px; background-color: green; clip-path: circle(100px) content-box;"></div>
     22 </body>
     23 </html>