-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add Baseline status to CSS hovercards #427
Comments
Maybe we can use I try to update Lets start with CSS properties |
@aeschli would you like me to start looking into adding support to HTML hovercards too? |
Is there a need for compatibility information with HTML? Sorry my ignorance, but are there elements/properties that are not supported/deprecated...? |
Yeah good question. There are some newer HTML elements that aren't widely available yet, like |
Figured I'd open draft PRs so you can see how the prototype works, hope it helps: microsoft/vscode-custom-data#113 Feel free to close them if you decide against it, otherwise they're ready for review :) |
Baseline is an initiative by the W3C WebDX Community Group that aims to improve how we communicate the level of browser compatibility of web platform features.
In VS Code today, CSS properties have a hovercard that shows supported browser versions:
Just by looking at this information, it's not immediately clear if this feature is ready to use in production. This could be improved by adopting a similar treatment as the one used by MDN:
Here, the Baseline "widely available" logo and text are used to more clearly communicate that the feature has been available across the core browser set for a substantial amount of time (2.5 years).
To see how this might look, I prototyped a VS Code extension that displays a hovercard with a similar treatment.
After a quick chat with @aeschli, it sounds like this could be a useful addition. Filing this issue to continue the discussion.
Some open questions to consider:
The text was updated successfully, but these errors were encountered: