Skip to content

fix: allow CSS has:(<selector>) syntax#1627

Merged
rdeltour merged 1 commit intomainfrom
issue/1605/css-has
Sep 1, 2025
Merged

fix: allow CSS has:(<selector>) syntax#1627
rdeltour merged 1 commit intomainfrom
issue/1605/css-has

Conversation

@rdeltour
Copy link
Copy Markdown
Member

@rdeltour rdeltour commented Sep 1, 2025

The CSS parser was raising an error when the selector list used by the :has() pseudo-class was not starting with an explicit relative combinator. This is now fixed and allowed.

Fix #1605, fix #1618

The CSS parser was raising an error when the selector list used by the
`:has()` pseudo-class was not starting with an explicit relative
combinator. This is now fixed and allowed.

Fix #1605, fix #1618
@rdeltour rdeltour self-assigned this Sep 1, 2025
@rdeltour rdeltour added this to the v5.3.0 milestone Sep 1, 2025
Base automatically changed from issue/1603/stdout to main September 1, 2025 15:02
@rdeltour rdeltour merged commit 6509da8 into main Sep 1, 2025
6 checks passed
@rdeltour rdeltour deleted the issue/1605/css-has branch September 1, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EPUBCheck does not accept class selector in CSS :has pseudo-class Epubcheck error caused by CSS pseudo class :has

1 participant