Open PupilTong opened 2 weeks ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.94.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
The same issue could be reproduced in 1.94.2.
Also, using or
after and
could cause the same issue.
@container style(--bg-a:true) and style(--bg-b:true) or style(--bg-c:true) {
div {
background-color:blue;
}
}
Because style(...)
is experimental, we don't have added support yet.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
https://developer.mozilla.org/en-US/docs/Web/CSS/@container#container_style_queries
Vscode reports a syntax error for
@container
with parentheses or comma in style queries, which is allowed in web standard.