Re: [csswg-drafts] [selectors-4] Consider disallowing logical combination pseudo-classes inside :has() (#6952)

I wonder if scoping and nesting can emulate nested `:has()`. Specifically, how to rewrite `A x B:has(C y D:has(E) F) z G`, where capital letters are `<relative-selector>`s (single for now) and small letters are combinators. Reaching for a workaround would indicate that the author probably does know what it may imply for performance and is convinced it wouldn't hurt in his case.

Or is it impossible?

-- 
GitHub Notification of comment by ByteEater-pl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6952#issuecomment-1916896653 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 30 January 2024 13:51:47 UTC