Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIgnored `-webkit-`, `-ms-` prefix on `@-moz-document` rules for userstyles #1271
Comments
|
Good idea. Do you want to send PR? |
|
@denis-g seems like you need to fix this method https://github.com/postcss/autoprefixer/blob/master/lib/prefixer.js#L79-L107 |
|
@denis-g what is a problem here? Current output seems like OK to me: body {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@-moz-document domain('example.com') {
body {
-moz-appearance: none;
appearance: none;
-moz-user-select: none;
user-select: none;
}
} |
|
This is actually a bad idea, at least with stylus which parsers those |
|
@silverwind so stylus uses |
|
|
|
Did stylus strip the inner content of |
|
Just unwrap to my understanding. Every body of a The old and now defunct Stylish extension for Firefox did it differently, it did not unwrap as the browser supported |
|
Anyways, my point is autoprefixer should not do any special processing for |
I think we should report an issue to Stylish. It should not be just unwrapped because of the problem like this. If Stylish developers will say that there is not any other way I can change Autoprefixer behavior for this specific case.
Right now Autoprefixer does not put |


NodeJs v10.15.2
NPM v6.13.1
I'm testing
postcsswithautoprefixer, and alsogulp-autoprefixer.browserslistsetting is default.Source scss:
Output css:
Same result on http://autoprefixer.github.io/