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

CSS @property selector messes up code coloring #237295

Closed
JustinWebDev opened this issue Jan 5, 2025 · 1 comment
Closed

CSS @property selector messes up code coloring #237295

JustinWebDev opened this issue Jan 5, 2025 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@JustinWebDev
Copy link

JustinWebDev commented Jan 5, 2025

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. in an HTML file, add a CSS "@Property" in the head > style tag
  2. add more markup (HTML, CSS, script) - observe the code coloring gets messed up in different places, seems to be different for all files

Example rules:
@Property --widthv {
syntax: "";
initial-value: 0px;
inherits: false;
}

@property --heightv {
  syntax: "<length>";
  initial-value: 0px;
  inherits: false;
}

Image

Image

@alexr00
Copy link
Member

alexr00 commented Jan 7, 2025

Duplicate of microsoft/vscode-css#2

@alexr00 alexr00 marked this as a duplicate of microsoft/vscode-css#2 Jan 7, 2025
@alexr00 alexr00 closed this as completed Jan 7, 2025
@alexr00 alexr00 added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants