wilsonzlin/minify-html

Firefox rejects minified CSS due to `:placeholder`

penn5 opened this issue · 1 comments

penn5 commented

Using a CSS selector #a::placeholder as used in text inputs, the selector is rejected if minified to #a:placeholder, so this optimisation should be disabled. My CSS optimisation is set to level 1.

Thanks for raising this, I've replaced css-minify with lightningcss in version 0.13.0, let me know if this issue still occurs. lightningcss is much more developed and should have fewer correctness issues.