|
5 | 5 | <title>CSS Gap Decorations: parsing column-rule-style with valid values</title>
|
6 | 6 | <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-row-rule-style">
|
7 | 7 | <link rel=" author" title=" Sam Davis Omekara Jr." href=" mailto:[email protected]" >
|
8 |
| -<meta name="assert" content="column-rule-style supports the full grammar '[ <line-style-list> | <auto-line-style-list> ]'."> |
| 8 | +<meta name="assert" content="*-rule-style supports the full grammar '[ <line-style-list> | <auto-line-style-list> ]'."> |
9 | 9 | <script src="/resources/testharness.js"></script>
|
10 | 10 | <script src="/resources/testharnessreport.js"></script>
|
11 | 11 | <script src="/css/support/parsing-testcommon.js"></script>
|
|
16 | 16 | test_valid_value("column-rule-style", "repeat(4, dotted)");
|
17 | 17 | test_valid_value("column-rule-style", "repeat(3, dashed double dotted)");
|
18 | 18 | test_valid_value("column-rule-style", "repeat(1, dashed double dotted solid)");
|
| 19 | +test_valid_value("row-rule-style", "repeat(5, dashed)"); |
| 20 | +test_valid_value("row-rule-style", "repeat(4, dashed dotted)"); |
| 21 | +test_valid_value("row-rule-style", "repeat(1, dashed double dotted solid)"); |
19 | 22 |
|
20 | 23 | // <line-style-or-repeat> = [ <style> | <repeat-line-style> ]
|
21 | 24 | test_valid_value("column-rule-style", "dashed");
|
22 | 25 | test_valid_value("column-rule-style", "repeat(4, double)");
|
| 26 | +test_valid_value("row-rule-style", "ridge"); |
| 27 | +test_valid_value("row-rule-style", "repeat(5, solid)"); |
23 | 28 |
|
24 | 29 | // <line-style-list> = [ <line-style-or-repeat> ]+
|
25 | 30 | test_valid_value("column-rule-style", "dotted ridge");
|
26 | 31 | test_valid_value("column-rule-style", "dotted dashed solid groove ridge");
|
27 | 32 | test_valid_value("column-rule-style", "repeat(3, groove) repeat(4, ridge)");
|
28 | 33 | test_valid_value("column-rule-style", "inset repeat(3, ridge) none repeat(4, groove hidden dashed)");
|
29 | 34 | test_valid_value("column-rule-style", "repeat(4, none ridge solid) repeat(5, hidden) double");
|
| 35 | +test_valid_value("row-rule-style", "dotted"); |
| 36 | +test_valid_value("row-rule-style", "dotted dashed ridge"); |
| 37 | +test_valid_value("row-rule-style", "repeat(4, solid) repeat(5, double) repeat(6, dotted)"); |
| 38 | +test_valid_value("row-rule-style", "ridge repeat(4, solid) double repeat(6, dotted)"); |
| 39 | +test_valid_value("row-rule-style", "repeat(4, none ridge solid) solid repeat(5, hidden) double"); |
30 | 40 |
|
31 | 41 | // <auto-repeat-line-style> = repeat( auto , [ <style> ]+ )
|
32 | 42 | test_valid_value("column-rule-style", "repeat(auto, solid)");
|
33 | 43 | test_valid_value("column-rule-style", "repeat(auto, dotted solid inset)");
|
| 44 | +test_valid_value("row-rule-style", "repeat(auto, dotted)"); |
| 45 | +test_valid_value("row-rule-style", "repeat(auto, dashed solid inset double)"); |
34 | 46 |
|
35 | 47 | // <auto-line-style-list> = [ <line-style-or-repeat> ]*
|
36 | 48 | // <auto-repeat-line-style>
|
37 | 49 | // [ <line-style-or-repeat> ]*
|
38 | 50 | test_valid_value("column-rule-style", "repeat(auto, dashed groove) ridge");
|
39 | 51 | test_valid_value("column-rule-style", "repeat(4, dotted double dashed) repeat(auto, solid)");
|
40 | 52 | test_valid_value("column-rule-style", "inset repeat(auto, solid ridge) repeat(4, none groove hidden)");
|
| 53 | +test_valid_value("row-rule-style", "repeat(auto, dashed groove) repeat(4, solid) double"); |
| 54 | +test_valid_value("row-rule-style", "repeat(4, dotted double dashed) repeat(auto, solid) repeat(4, none groove hidden)"); |
| 55 | +test_valid_value("row-rule-style", "dotted repeat(auto, solid ridge) solid"); |
41 | 56 | </script>
|
42 | 57 | </body>
|
43 | 58 | </html>
|
0 commit comments