border-invalid.html (685B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Backgrounds and Borders Module Level 3: parsing border with invalid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-shorthands"> 7 <meta name="assert" content="border supports only the grammar '<line-width> || <line-style> || <color>'."> 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("border", "auto"); 15 test_invalid_value("border", "thin double green 1px"); 16 test_invalid_value("border", "-2em"); 17 </script> 18 </body> 19 </html>