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

CSS code highlighting on some properties not working #192

Open
1 task
alexr00 opened this issue Feb 10, 2022 · 1 comment
Open
1 task

CSS code highlighting on some properties not working #192

alexr00 opened this issue Feb 10, 2022 · 1 comment

Comments

@alexr00
Copy link

alexr00 commented Feb 10, 2022

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 microsoft/vscode#142658

@eritbh
Copy link
Contributor

eritbh commented Feb 22, 2022

My PR #193 might fix this?

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

2 participants