2020-07-10 22:24:03 -04:00
|
|
|
#[macro_use]
|
|
|
|
mod macros;
|
|
|
|
|
|
|
|
test!(
|
|
|
|
style_following,
|
|
|
|
"@supports (a: b) {
|
|
|
|
a {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: green;
|
|
|
|
}",
|
|
|
|
"@supports (a: b) {\n a {\n color: red;\n }\n}\na {\n color: green;\n}\n"
|
|
|
|
);
|
2021-07-24 00:58:12 -04:00
|
|
|
test!(
|
|
|
|
newline_between_styles_inside,
|
|
|
|
"@supports (-ms-ime-align: auto) {
|
|
|
|
a {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
b {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
}",
|
|
|
|
"@supports (-ms-ime-align: auto) {\n a {\n color: red;\n }\n\n b {\n color: green;\n }\n}\n"
|
|
|
|
);
|