Skip to content

[selectors] [cssom] How should invalid selectors inside :is(), :where(), and :not() be treated for serialization? #3676

@emilio

Description

@emilio

Split from #3264. It's not clear what happens if you add an invalid selector inside :is or :not or :where in terms of serialization.

  • Should we just skip them?
  • Should we serialize it as :not(*|*) (like invalid media queries which serialize as not all)?
  • Something else?

/cc @ericwilligers

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