box-shadow-blur-invalid.html (890B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Borders and Box Decorations 4 Test: Parsing 'box-shadow-blur' 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/#box-shadow-blur"> 6 <meta name="assert" content="This test checks that 'box-shadow-blur' supports only properly defined length values."> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="/css/support/parsing-testcommon.js"></script> 10 11 <script> 12 test_invalid_value("box-shadow-blur", "auto"); 13 test_invalid_value("box-shadow-blur", "none"); 14 test_invalid_value("box-shadow-blur", "1"); 15 test_invalid_value("box-shadow-blur", "1px 2px"); 16 test_invalid_value("box-shadow-blur", "-1px"); 17 test_invalid_value("box-shadow-blur", "1%"); 18 </script>