tor-browser

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

clip-invalid.html (708B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Masking Module Level 1: parsing clip with invalid values</title>
      6 <link rel="help" href="https://drafts.fxtf.org/css-masking-1/#clip-property">
      7 <meta name="assert" content="clip supports only the grammar 'rect() | auto'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_invalid_value("clip", "none");
     15 test_invalid_value("clip", "rect(10px, 20px, 30px)");
     16 test_invalid_value("clip", "rect(10%, -20%, auto, auto)");
     17 test_invalid_value("clip", "rect(10px 20px, 30px 40px)");
     18 </script>
     19 </body>
     20 </html>