-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
MDN Browser Compatibility Data #379
Comments
I do not the best way too :). I think nobody has relevant experience. So you need just try to do it. I think the main problem is to convert Can I Use browsers to browser-compat-data. I think we can do it with simple function. I am closing this issue, feel free to open it on any additional question or if you will need anything from Browserslist. |
I have tried and I am trying. I created an issue because it is tied to a real need and I need more brains on this.
Yes, the best thing I have come up with is to use If that’s what it takes — okay — but I’m not looking forward to it. |
@jonathantneal Not sure if this fits what you need, but we recently did something similar for webhint. We ended up with a couple of utilities to help query Currently this is used by some slightly higher-level helpers for querying MDN data in the |
The problem is browserslist uses a much richer data set via So I'm not sure if there's a way to possibly fuse together the two data sets automatically whilst keeping this nuance. It's certainly a lot of work nonetheless. |
@ben-eb, thanks for those examples. They are really valuable to see how either the caniuse tap or mdn tap may get a thing right that the other does not. I think this is a good reason to allow the user to configure the source of truth. It’s worth noting that, to the best of my knowledge, information from caniuse and browser-compat-data are freely provided by contributors of unknown numbers and unknown longevity. In the case of desktop user/browser stats, this information comes from statcounter. In the case of mobile usage/browser stats, only caniuse provides this, and we’re not told where the data comes from or how it is extrapolated. In any case, I consider it part of my duty to avoid incorrectly overstating compatibility in one browser or another, as it contributes to a bias in developers that one browser is worth supporting over another. Next; I’m still considering a strategy like @antross has taken. My main hangups with that solution are:
|
Please reopen! I want to limit browsers using |
@socketpair open a separated issue |
I need to use mdn’s browser compatibility data to properly support features in PostCSS Preset Env. I would like to use browserslist alongside browser-compat-data, but I’m unsure the best way to accomplish this.
Could there be a guide or new feature that would allow me to use browserslist with mdn browser-compat-data?
While caniuse or cssdb often divide features by specification, actual browsers implementations are far more nuanced. In the case of CSS Logical Properties and Values, there have been 9 partial implementations unevenly spread between browsers, and there will be more implementations as the remaining features are implemented. That doesn’t include additional updates for browser bugs or spec revisions.
Now, I have a separate but related issue that caniuse is giving fully-implemented green to browsers with incomplete implementations (example: CSS Logical Properties and Values), but it brings me to an important point. browser-combat-data is granular by nature. I am able to get support data for specific properties or property value combinations. For most PostCSS polyfills, this is exactly what I need.
My ideal setup would be statcounter for browser usage statistics (this is what caniuse uses), browser-compat-data for feature implementation status, and cssdb/w3c for spec stability status.
The text was updated successfully, but these errors were encountered: