test invalid arithmetic in calc
This commit is contained in:
parent
fc3facb80c
commit
f8ab03a94f
@ -32,6 +32,10 @@ test!(
|
|||||||
"a {\n color: calc(/**/);\n}\n"
|
"a {\n color: calc(/**/);\n}\n"
|
||||||
);
|
);
|
||||||
test!(calc_nested_parens, "a {\n color: calc((((()))));\n}\n");
|
test!(calc_nested_parens, "a {\n color: calc((((()))));\n}\n");
|
||||||
|
test!(
|
||||||
|
calc_invalid_arithmetic,
|
||||||
|
"a {\n color: calc(2px + 2px + 5%);\n}\n"
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
element_whitespace,
|
element_whitespace,
|
||||||
"a {\n color: element( 1 );\n}\n",
|
"a {\n color: element( 1 );\n}\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user