Re: [csswg-drafts] [selectors-4] Add :has() to the list of logical combination pseudo-classes (#10749)

I think pseudo-elements cannot be followed by `:has()`.

  > This specification allows any pseudo-element to be followed by any combination of the logical combination pseudo-classes and the user action pseudo-classes.

There is probably a good reason for `:has()` to be in the "Logical Combinations" section but I see it as a tree-structural pseudo-class.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/10749#issuecomment-2296457195 using your GitHub account


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

Received on Monday, 19 August 2024 12:28:44 UTC