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

Database used to show warnings/notes (CSS) seems to be outdated #2155

Open
Michaelvsk opened this issue May 3, 2024 · 2 comments
Open

Database used to show warnings/notes (CSS) seems to be outdated #2155

Michaelvsk opened this issue May 3, 2024 · 2 comments
Labels
bug Something isn't working feedback requested

Comments

@Michaelvsk
Copy link

Environment (please complete the following information):

  • OS: Windows 11
  • Extension version: 2.1.5

Describe the bug:
The extension warns about @layer (CSS) is not supported by Chrome, Chrome Android, Edge, Opera, Samsung Internet.

Repro steps:
Type @layer myLayerName {} in a CSS files to let this warning message appear:

@layer' is not supported by Chrome, Chrome Android, Edge, Opera, Samsung Internet. Microsoft Edge Tools (compat-api/css)

Expected behavior:
No warning should appear because any major browser supports @layer.
Following the link in the error message to MDN says this about browser support:

Since March 2022, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

@captainbrosset
Copy link
Collaborator

Thanks for filing. I think this is related to the version of webhint that the extension uses. And webhint, itself, uses the mdn/browser-compat-data project. I believe this should get fixed soon. I know @vidorteg already updated the version of BCD that webhint uses in webhintio/hint#5834
So perhaps it's only a question of bumping the version of webhint that the VS Code extension uses.

@vidorteg can you confirm?

@captainbrosset captainbrosset added bug Something isn't working feedback requested labels May 6, 2024
@Nexinal
Copy link

Nexinal commented Jun 19, 2024

Any update on this? @vidorteg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feedback requested
Projects
None yet
Development

No branches or pull requests

3 participants