Skip to content

Bug: Error thrown on ::-webkit-scrollbar-thumb:vertical #122

@terebentina

Description

@terebentina

Parcel-css (the version included in parcel 2.4.0) throws when using ::-webkit-scrollbar-thumb:vertical (or :horizontal) although it passes with either ::-webkit-scrollbar-thumb or .class::-webkit-scrollbar-thumb or even the invalid .class:vertical.
You can see this in the parcel-css demo app (https://parcel-css.vercel.app) by using the following css:

::-webkit-scrollbar-thumb {
}

.a::-webkit-scrollbar-thumb {
}

.a:vertical {
}

::-webkit-scrollbar-thumb:vertical {
}

As soon as you remove the last class it compiles.

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