column-rule-shorthand.html (1019B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Multi-column Layout: column-rule sets longhands</title> 6 <link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule"> 7 <meta name="assert" content="column-rule supports the full grammar '<column-rule-width> || <column-rule-style> || <column-rule-color>'."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/shorthand-testcommon.js"></script> 11 </head> 12 <body> 13 <script> 14 test_shorthand_value('column-rule', 'medium dotted green', { 15 'column-rule-width': 'medium', 16 'column-rule-style': 'dotted', 17 'column-rule-color': 'green' 18 }); 19 20 test_shorthand_value('column-rule', '100px', { 21 'column-rule-width': '100px', 22 'column-rule-style': 'none', 23 'column-rule-color': 'currentcolor' 24 }); 25 26 test_shorthand_value('column-rule', 'blue', { 27 'column-rule-width': 'medium', 28 'column-rule-style': 'none', 29 'column-rule-color': 'blue' 30 }); 31 </script> 32 </body> 33 </html>