tor-browser

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

clip-path-ellipse-002.html (1097B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>CSS Masking: Test clip-path property and ellipse function with percentage 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 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 On pass you should see a green ellipse.">
     15 <meta name="fuzzy" content="maxDifference=0-59; totalPixels=0-600">
     16 </head>
     17 <body>
     18 <p>The test passes if there is a full green ellipse.</p>
     19 <div style="width: 150px; height: 100px; border: solid red 50px; background-color: green; clip-path: ellipse(30% 25% at 50% 50%);"></div>
     20 </body>
     21 </html>