Skip to content

Commit

Permalink
fix(tests): Add missing no-prefix-duplication test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoniePhiline committed Jul 26, 2023
1 parent c7913b0 commit f8d96a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12554,6 +12554,26 @@ mod tests {
..Default::default()
},
);
prefix_test(
r#"
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
.test {
foo: bar;
}
}
"#,
indoc! { r#"
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
.test {
foo: bar;
}
}
"#},
Browsers {
safari: Some(14 << 16),
..Default::default()
},
);
minify_test(
r#"
@supports (width: calc(10px * 2)) {
Expand Down

0 comments on commit f8d96a0

Please sign in to comment.