microsoft / microsoft/vscode-css

background property incorrectly flagged as deprecated

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

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

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.