Re: [csswg-drafts] [css-selectors-4] Selector for element with another element as ancestor (#9130)

Yeah I don't get the difference between `p:within(a)` and `a p`. See https://drafts.csswg.org/selectors-4/#descendant-combinators

If you just want to impose extra conditions, like `foo p:within(a)`, then use `foo p:is(a *)`

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


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

Received on Tuesday, 1 August 2023 17:54:16 UTC