microsoft / microsoft/vscode-css
background property incorrectly flagged as deprecated
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 25
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 2
Description
In this case:
.myclass {
transition-property: background;
}
the background is flagged deprecated by this case insensitive rule, while this is a valid grammar (MDN events cites it as an example for short-hands properties).
Screenshot
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 with grammars/css.cson around lines 678-686, where the case-insensitive rule mentioned in the issue flags background as deprecated. Verify the grammar behavior for transition-property: background and related shorthand-property cases; done means this valid example is no longer flagged while the intended deprecated-property checks remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100