tor-browser

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

clip-path-ellipse-001.html (964B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>CSS Masking: Test clip-path property and ellipse function with absolute values</title>
      5 <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
      6 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths">
      7 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#propdef-clip-path">
      8 <link rel="match" href="reference/clip-path-ellipse-ref.html">
      9 <meta name="fuzzy" content="0-38; 0-400">
     10 <meta name="assert" content="The clip-path property takes the basic shape
     11 'ellipse' for clipping. Test absolute values for radii and position
     12 arguments. On pass you should see a green ellipse.">
     13 <meta name="fuzzy" content="maxDifference=0-59; totalPixels=0-600">
     14 </head>
     15 <body>
     16 <p>The test passes if there is a full green ellipse.</p>
     17 <div style="width: 150px; height: 100px; border: solid red 50px; background-color: green; clip-path: ellipse(75px 50px at 125px 100px);"></div>
     18 </body>
     19 </html>