Skip to content

[selectors] consider preserving invalid selectors in :is() and :where() #8356

Open
@emilio

Description

@emilio

In #7972 we resolved to preserve invalid selectors that contain an & as-is. It seems it'd be more consistent to do that for all invalid :is() / :where() branches like :is(:unknown). That's how @media and @supports behave.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions