Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-ms-grid... is being added when IE and legacy edge are disabled #1432

Open
Vlasterx opened this issue Nov 11, 2021 · 3 comments
Open

-ms-grid... is being added when IE and legacy edge are disabled #1432

Vlasterx opened this issue Nov 11, 2021 · 3 comments

Comments

@Vlasterx
Copy link

It seems that these rules are being added to CSS even if IE or legacy edge are encompassed by the rules
-ms-grid-row:, -ms-grid-column and -ms-grid-column-span

I was using last 2 versions and not dead and >0.2% and not ie <= 11 and not edge < 94

https://caniuse.com/mdn-css_properties_-ms-grid-row

@ai
Copy link
Member

ai commented Nov 11, 2021

Run npx browserslist i your project to get browser’s versions

@Vlasterx
Copy link
Author

Vlasterx commented Nov 11, 2021

I get this

and_chr 95
and_ff 92
and_qq 10.4
and_uc 12.12
android 95
baidu 7.12
chrome 95
chrome 94
chrome 93
chrome 92
edge 95
edge 94
firefox 94
firefox 93
firefox 92
firefox 78
ie 11
ios_saf 15
ios_saf 14.5-14.8
ios_saf 14.0-14.4
ios_saf 12.2-12.5
kaios 2.5
op_mini all
op_mob 64
opera 81
opera 80
opera 79
safari 15
safari 14.1
safari 13.1
samsung 15.0
samsung 14.0

When running with the rule above, I get this:

and_chr 95
and_ff 92        
and_uc 12.12     
chrome 95        
chrome 94        
edge 95
edge 94
firefox 93       
ios_saf 15       
ios_saf 14.5-14.8
op_mini all      
opera 80
safari 15        
safari 14.1      
samsung 15.0     
samsung 14.0

No IE in this group, but the prefixes are still inserted.

@ai
Copy link
Member

ai commented Nov 11, 2021

There is ie 11 in first output.

Seems like you have some problem with Browserslist config.

Where do you put last 2 versions and not dead and >0.2% and not ie <= 11 and not edge < 94? Show the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants