tor-browser

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

clip-path-circle-008.html (1083B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Masking: Test clip-path property and circle with closest-side on rectangular div 2</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/#the-clip-path">
      8    <link rel="match" href="reference/clip-path-circle-3-ref.html">
      9    <meta name="fuzzy" content="0-38; 0-800">
     10    <meta name="assert" content="The clip-path property takes the basic shape
     11    'circle' for clipping. The clipped div box is twice as high as it is
     12    wide. With 'closest-side', there should be a full green circle.">
     13    <meta name="fuzzy" content="maxDifference=0-60; totalPixels=0-900">
     14    <style type="text/css">
     15    body, div {
     16        padding: 0;
     17        margin: 0;
     18    }
     19    </style>
     20 </head>
     21 <body>
     22    <p>The test passes if there is a full green circle.</p>
     23    <div style="width: 200px; height: 400px; background-color: green; clip-path: circle(closest-side);"></div>
     24 </body>
     25 </html>