background property incorrectly flagged as deprecated

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
css
Domain
tooling

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.

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
Dominant language
JavaScript
Stars
27
Forks
25
Avg merge
3d 19h
Merged PRs (30d)
2

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.

More from microsoft/vscode-css

All issues in microsoft/vscode-css

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.