- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 20 Feb 2024 07:37:02 +0000
- To: public-css-archive@w3.org
[This comment](https://github.com/w3c/csswg-drafts/issues/2423#issuecomment-371463760) probably answers your question about compounding `:host`: > `:host` will only ever match anything if these hold: > > 1. `:host` appears in the leftmost compound selector. > 2. `:host` is the only simple selector in that compound. > > "For the purpose of Selectors, a shadow host also appears in its shadow tree, with the contents of the shadow tree treated as its children. (In other words, the shadow host is treated as replacing the shadow root node.) -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9981#issuecomment-1953632787 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 20 February 2024 07:37:03 UTC