Re: [csswg-drafts] [scoping] Direct parent of a :host-context() (#7896)

This is currently intentionally impossible - the `:host-context()` selector only takes a compound selector (only evaluating on one element, with no combinators), to make it faster and easier to evaluate, as :host-context() is already somewhat expensive to do correctly.

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


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

Received on Tuesday, 18 October 2022 17:31:17 UTC