[Bug] Extension incorrectly says `'@layer' is not supported by Chrome, Chrome Android, Edge...`
hamirmahal opened this issue ยท 9 comments
๐ Bug report
Description
The webhint
extension for VSCode says '@layer' is not supported by Chrome, Chrome Android, Edge, Opera, Samsung Internet.
compat-api/css, but the page it links, https://developer.mozilla.org/en-US/docs/Web/CSS/@layer, says otherwise.
Details
I have v2.1.12
of the webhint
extension for VSCode.
If I wanted to fix issues like these in the future, where in the source code would I look?
I cloned this repository locally and saw 0 results when searching the codebase for @layer
.
Thanks for reporting.
I cloned this repository locally and saw 0 results when searching the codebase for @layer.
This is expected. The source code in this repo doesn't directly deal with browser compat warnings. Instead, it uses a third-party library to do this. That library is browser-compat-data (BCD).
So, most likely, the problem is that the version of BCD used here is not the latest, and therefore webhint shows outdated warnings.
The fix would be to bump the version of BCD used in the dependencies of this project.
You're welcome. It looks like dac7399 bumped BCD a couple of weeks ago.
How long does it take for changes here to propagate to the webhint
extension for VSCode?
I'm not familiar enough with the release process for webhint. Let me ping @vidorteg here.
thanks for reporting this @hamirmahal, you are right I recently updated BCD to avoid this issues, but have been busy with other work. I hope I have time this week to make a release for vscode extension.
You're welcome @vidorteg.