Files
Mark XianandGitHub 0f24f11924 Fix duplicated prefixed selectors on reformatted CSS (#1552)
The `already()` check compared `before.selector` to the generated
prefixed selector with strict equality. Generated prefixed selectors
always join the comma list with `', '`, so once an existing prefixed
rule had its selector list reformatted (e.g. one selector per line by a
formatter), the comparison failed and Autoprefixer inserted a duplicate
prefixed rule on every run.

Normalize the compared selector with `list.comma(...).join(', ')` so
whitespace differences in the selector list no longer defeat the
duplication check.

Closes #1497
2026-07-16 12:23:25 +02:00
..
2026-07-14 16:39:28 +00:00
2021-03-11 20:42:58 -05:00
2026-07-14 16:31:08 +00:00
2023-07-08 13:45:22 +02:00
2023-07-08 13:45:22 +02:00
2021-03-11 20:42:58 -05:00
2022-04-23 22:32:28 +01:00
2025-03-09 13:25:39 +00:00
2021-03-11 20:42:58 -05:00