Skip to content

Commit f8d96a0

Browse files
committed
fix(tests): Add missing no-prefix-duplication test
Tests parcel-bundler#403 (comment)
1 parent c7913b0 commit f8d96a0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/lib.rs

+20
Original file line numberDiff line numberDiff line change
@@ -12554,6 +12554,26 @@ mod tests {
1255412554
..Default::default()
1255512555
},
1255612556
);
12557+
prefix_test(
12558+
r#"
12559+
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
12560+
.test {
12561+
foo: bar;
12562+
}
12563+
}
12564+
"#,
12565+
indoc! { r#"
12566+
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
12567+
.test {
12568+
foo: bar;
12569+
}
12570+
}
12571+
"#},
12572+
Browsers {
12573+
safari: Some(14 << 16),
12574+
..Default::default()
12575+
},
12576+
);
1255712577
minify_test(
1255812578
r#"
1255912579
@supports (width: calc(10px * 2)) {

0 commit comments

Comments
 (0)