Skip to content

Re-implement :has(> by marking first selector isRoot#148

Open
lukaw3d wants to merge 5 commits intoestools:masterfrom
lukaw3d:reimplement-has-child
Open

Re-implement :has(> by marking first selector isRoot#148
lukaw3d wants to merge 5 commits intoestools:masterfrom
lukaw3d:reimplement-has-child

Conversation

@lukaw3d
Copy link

@lukaw3d lukaw3d commented Aug 6, 2024

Re-implements #145 to fix #146 :has(>BlockStatement>ExpressionStatement)

but this approach isn't extendable to support :has(~
and I don't know if it has unintended consequences if > is used outside :has(>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant