|
54 | 54 | assert_valid("<length-percentage>", "-54%");
|
55 | 55 | assert_valid("<length-percentage>", "0");
|
56 | 56 | assert_valid("<length-percentage>", "calc(-11px + 10.4%)");
|
57 |
| -assert_valid("<length>", "10vmin"); |
58 |
| -assert_valid("<percentage> | <length>+", "calc(100vh - 10px) 30px"); |
59 | 57 |
|
60 | 58 | assert_valid("<number>", "-109");
|
61 | 59 | assert_valid("<number>", "2.3e4");
|
|
185 | 183 | assert_invalid("<length>", "calc(5px + 10%)");
|
186 | 184 | assert_invalid("<length>", "calc(5px * 3px / 6px)");
|
187 | 185 | assert_invalid("<length>", "10em");
|
| 186 | +assert_invalid("<length>", "10vmin"); |
188 | 187 | assert_invalid("<length>", "calc(4px + 3em)");
|
189 | 188 | assert_invalid("<length>", "calc(4px + calc(8 * 2em))");
|
190 | 189 | assert_invalid("<length>+", "calc(2ex + 16px)");
|
191 | 190 | assert_invalid("<length>+", "10px calc(20px + 4rem)");
|
192 | 191 | assert_invalid("<length>+", "");
|
193 | 192 | assert_invalid("<length>#", "");
|
| 193 | +assert_invalid("<percentage> | <length>+", "calc(100vh - 10px) 30px"); |
194 | 194 | assert_invalid("<length>", "10px;");
|
195 | 195 | assert_invalid("<length-percentage>", "calc(2px + 10% + 7ex)");
|
196 | 196 | assert_invalid("<percentage>", "0");
|
|
0 commit comments