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 code highlighting on some properties not working #192

@alexr00

Description

@alexr00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions