border-clip-invalid.html (833B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Borders and Box Decorations 4 Test: Parsing 'border-clip' with invalid values</title> 4 <link rel="author" title="Sebastian Zartner" href="mailto:sebastianzartner@gmail.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-clip"> 6 <meta name="assert" 7 content="This test checks that 'border-clip' supports only the keyword 'normal' or a list of <length-percentage> and <flex> values."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/parsing-testcommon.js"></script> 11 12 <script> 13 test_invalid_value("border-clip", "auto"); 14 test_invalid_value("border-clip", "none"); 15 test_invalid_value("border-clip", "padding-box"); 16 test_invalid_value("border-clip", "-10px"); 17 </script>