Skip to content

Chaining a pseudo-class after the '::picker' pseudo-element is not allowed. #1292

Description

@FlorianBoe

I experimented with the customizable select elements and noticed that chaining pseudo-classes after the ::picker pseudo-element is currently not allowed in lightningcss.

An example would be the :not() CSS pseudo-class, like:

select::picker(select):not(:popover-open) {}

This code throws the following syntax error:
SyntaxError: Invalid pseudo class after pseudo element, only user action pseudo classes (e.g. :hover, :active) are allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions