Skip to content

CSS4 :matches(...) selector is not parsed correctly. #1

@michelle

Description

@michelle

This is a real bug that is not yet fixed in rework master.

Specifically, because rework splits selectors naively at ,, and :matches(...) allows comma-separated selectors, rework will split :matches(.foo, .bar, .baz) into [':matches(:foo', '.bar', '.baz)'], which is incorrect.

You should be sure your solution parses a variety of selectors correctly.

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