gap-decorations-style-invalid.html (1134B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Gap Decorations: column-rule-style parsing</title> 6 <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-row-rule-style"> 7 <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com"> 8 <meta name="assert" content="*-rule-style supports only the grammar '[ <line-style-list> | <auto-line-style-list> ]'."> 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 const properties = ["column-rule-style", "row-rule-style", "rule-style"]; 16 for (let property of properties) { 17 test_invalid_value(property, "auto"); 18 test_invalid_value(property, "dashed, dotted, solid"); 19 test_invalid_value(property, "repeat(auto, groove, dotted, ridge)"); 20 test_invalid_value(property, "repeat(0, dotted, solid, double)"); 21 test_invalid_value(property, "repeat(-1, dotted, dashed, double)"); 22 test_invalid_value(property, "repeat(auto, dotted) red repeat(auto, ridge)"); 23 } 24 </script> 25 </body> 26 </html>