tor-browser

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

clip-path-ellipse-005.html (1153B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>CSS Masking: Test clip-path property and ellipse function with different percentage values on square</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 percentage values for radii and position
     12 arguments. Percentage values are relative to a reference box. If no
     13 reference box was specified, percentage values are relative to border-box.
     14 Different values for getting an ellipse from a square. On pass you should
     15 see a green ellipse.">
     16 <meta name="fuzzy" content="maxDifference=0-59; totalPixels=0-600">
     17 </head>
     18 <body>
     19 <p>The test passes if there is a full green ellipse.</p>
     20 <div style="width: 200px; height: 200px; background-color: green; clip-path: ellipse(37.5% 25% at 62.5% 50%);"></div>
     21 </body>
     22 </html>