You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
Environment (please complete the following information):
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: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:
The text was updated successfully, but these errors were encountered: