vscode-edge-devtools icon indicating copy to clipboard operation
vscode-edge-devtools copied to clipboard

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

Open Michaelvsk opened this issue 1 year ago • 2 comments

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.

Michaelvsk avatar May 03 '24 13:05 Michaelvsk

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 https://github.com/webhintio/hint/pull/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 avatar May 06 '24 14:05 captainbrosset

Any update on this? @vidorteg

Nexinal avatar Jun 19 '24 13:06 Nexinal