tor-browser

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

clip-path-rect-003.html (754B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>CSS Masking: Test clip-path property and rect function</title>
      5  <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect">
      6  <link rel="match" href="reference/clip-path-xywh-003-ref.html">
      7  <meta name="fuzzy" content="maxDifference=0-50; totalPixels=0-250">
      8  <meta name="assert" content="The clip-path property takes the basic shape
      9 'rect()' for clipping. On pass you should see a green rect with round.">
     10 </head>
     11 <style>
     12  #rect {
     13    width: 400px;
     14    height: 200px;
     15    background-color: green;
     16    clip-path: rect(50px 200px 150px 50px round 20px / 20px);
     17  }
     18 </style>
     19 <body>
     20  <p>The test passes if there is a green box with round.</p>
     21  <div id="rect"></div>
     22 </body>
     23 </html>