postcss / autoprefixer

Parse CSS and add vendor prefixes to rules by Can I Use
https://twitter.com/autoprefixer
MIT License
21.58k stars 1.25k forks source link

Fix ::file-selector-button pseudo-element #1420

Closed usmanyunusov closed 2 years ago

usmanyunusov commented 2 years ago

https://twitter.com/usmanyunusov

XhmikosR commented 2 years ago

@ai I think this introduced ::-moz-file-selector-button which is invalid/never implemented.

ai commented 2 years ago

@XhmikosR can you send PR to block usage of -moz-?

XhmikosR commented 2 years ago

Unsure where to look for, I'm not familiar with the codebase :/

ai commented 2 years ago

@usmanyunusov can you add text for Firefox and prevent wrong prefix generation?

usmanyunusov commented 2 years ago

@ai, I'll see the error

usmanyunusov commented 2 years ago

@ai, PR: https://github.com/postcss/autoprefixer/pull/1421

usmanyunusov commented 2 years ago

Why only these browsers? - https://github.com/postcss/autoprefixer/blob/main/data/prefixes.js#L528 And if the firefox 90?

ai commented 2 years ago

Why only these browsers?

We copied data from MDN to avoid adding new dependency and since new browsers will not have prefix

ai commented 2 years ago

@XhmikosR the second fix was released in 10.3.3

XhmikosR commented 2 years ago

Thanks!