tor-browser

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

clip-path-ellipse-008.html (985B)


      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 ellipse function with border-box</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-ellipse-001-ref.html">
     13  <meta name="assert" content="The clip-path property takes the basic shape
     14    ellipse with the keyword border-box for clipping of a rectangle. On pass
     15    you should see a green horizontal ellipse.">
     16 </head>
     17 <body>
     18  <p>The test passes if there is a green horizontal ellipse.</p>
     19  <div style="width: 200px; height: 200px; padding-left: 200px; background-color: green; clip-path: ellipse(closest-side closest-side) border-box;"></div>
     20 </body>
     21 </html>