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

Add support for mask-position-x and mask-position-y #1415

Closed lukewarlow closed 3 years ago

lukewarlow commented 3 years ago

Closes #1245

Despite this not being mentioned in the CSS Masking spec, I think there's good enough reason to add them. It's unlikely the final spec won't include them (even if for nothing other than compat reasons) considering there's direct prefixed counterparts and and they're implemented in Firefox already (demo for testing in Firefox).

ai commented 3 years ago

I will think for a few days (anyway, we had too many releases :D)

ai commented 3 years ago

Firefox accepts -webkit- prefix here as well. We should use just prefixed version.

It is too dangerous to add non-prefixed version to Autoprefixer without spec. It will require a lot of changes if CSSWG changed the name.

I need at least plan to add this property with this name from CSSWG.