Re: [csswg-drafts] [css-scoping-1] Clarify exactly what :host(<sel>) can use as argument (#7953)

Gonna close this as a dupe of #5093, where we have proposed edits answering this exact question - the logical combo pseudos pass their own context's restrictions on to their arguments. This means that `:host(:has(...))` is invalid, since its arguments are *inherently* complex selectors (because they're relative, so there's a combinator), so imposing a compound-selector restriction on them makes all possible arguments invalid.

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


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

Received on Tuesday, 13 December 2022 19:06:14 UTC