Skip to content

[selectors-4] Disallow pseudo-elements inside :has() #7463

Description

@fantasai

Selectors like ol:has(li::marker) and section:has(p::first-line) are problematic and we should make all pseudo-elements invalid inside :has().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions