postcss / autoprefixer

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

user-select: contain does not require the -webkit and -moz prefixes #1506

Closed yisibl closed 5 months ago

yisibl commented 5 months ago

-webkit and -moz are wrong, these browsers don't implement this value.

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: > 0%
*/

.example {
    -webkit-user-select: contain;
       -moz-user-select: contain;
        -ms-user-select: element;
            user-select: contain;
}

Expected

.example {
        -ms-user-select: element;
            user-select: contain;
}
ai commented 5 months ago

You expect to have

.example {
        -ms-user-select: element;
            user-select: contain;
}

Am I right?

yisibl commented 5 months ago

You expect to have

.example {
        -ms-user-select: element;
            user-select: contain;
}

Am I right?

Yeah!

ai commented 5 months ago

Fixed b0a4007

ai commented 5 months ago

Released in 10.4.17.

yisibl commented 5 months ago

Thanks!