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