atom / language-css

CSS package for Atom
Other
59 stars 77 forks source link

CSS code highlighting on some properties not working #192

Open alexr00 opened 2 years ago

alexr00 commented 2 years ago

Prerequisites

Description

When using some of the newer properties, code highlighting does not work: Schermafbeelding 2022-02-09 om 19 28 46 Strangely enough, other just-as-new props are being correctly highlighted.

Steps to Reproduce

Reproduces with this snippet:

.quotation {
    position: relative;
    padding-block: 1.rem;
}

Expected behavior:

position and padding-block have the same scopes.

Actual behavior:

position scopes: support.type.property-name.css meta.property-name.css meta.property-list.css source.css

padding-block scopes: meta.property-name.css meta.property-list.css source.css

Reproduces how often:

100%

Versions

Additional Information

Originally from @hansgrimm in https://github.com/microsoft/vscode/issues/142658

eritbh commented 2 years ago

My PR #193 might fix this?