tor-browser

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

clip-negative-values-003.html (870B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Masking: Test clip property does not clip on with negative values - 3</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/#clip-property">
      8    <link rel="match" href="reference/clip-vertical-stripe-ref.html">
      9    <meta name="assert" content="Negative values are permitted on rect function
     10    for clip. Test that left edge can be negative. On pass you should see a
     11    vertical blue stripe.">
     12 </head>
     13 <body>
     14    <p>The test passes if there is only a vertical blue stripe.</p>
     15    <div style="width: 100px; height: 100px; border: solid blue 50px; background-color: green; position: absolute; clip: rect(0, 50px, 200px, -50px);"></div>
     16 </body>
     17 </html>