Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

CSS background property showing under invalid.deprecated scope despite not being invalid/deprecated. #198

@Monstarrrr

Description

@Monstarrrr

Prerequisites

I don't actually use Atom so I haven't run some of the following:

Description

Reported the issue on vscode, been told it has to do with this repo so i'm reposting it here.
The background property under transition is showing up under the invalid.deprecated.color.system.css scope, which makes it show up as an error.

Steps to Reproduce

  1. Create a new css file
  2. Add the following code
.test {
  transition: background;
}

Alternatively :

.test {
  background: white;
}
.test:hover {
  background: red;
  transition: background 2s;
}
  1. Inspect editor tokens and scopes
  2. Hover on background

Expected behavior:

Should not show as deprecated/invalid because the background property is animatable and not deprecated: MDN docs | W3C docs.

Actual behavior:

The background property under transition is showing up under the invalid.deprecated.color.system.css scope, which makes it show up as an error.

Reproduces how often:

100%

Additional Information

microsoft/vscode#150057

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions