Skip to content
This repository has been 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

Open
Monstarrrr opened this issue May 23, 2022 · 0 comments

Comments

@Monstarrrr
Copy link

Monstarrrr commented May 23, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant