microsoft / microsoft/vscode-css
CSS rule @property breaks code color.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 25
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 2
Description
Type: Feature Request
I'm using the CSS rule @property inside an internal style in an .html document. After this lines, the code doesn't show the same colours as before. The code colors change and tend to be white almost all the words.
I think there is not any syntax error in my code but the visual studio code is finding something wrong and didn't works as expected.
Thanks!!
VS Code version: Code 1.101.2 (2901c5ac6db8a986a5666c3af51ff804d05af0d4, 2025-06-24T20:27:15.391Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported syntax-highlighting change with a CSS @property rule inside an inline style in an HTML document. Inspect the CSS TextMate grammar used by this repository and compare highlighting before and after the rule; done means the surrounding HTML/CSS code retains the expected colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100