- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 May 2022 07:11:44 +0000
- To: public-css-archive@w3.org
> In my opinion, the `:scope` should match the node itself, even if it is virtual. So calling `:scope > *` on a DocumentFragment should returns its direct children, just as it would have happen on a HTMLElement. Then doing so in `Document` should select the root element for the same reasoning right? That's not how browsers behave right now. > Usually, the `:scope` usage is coupled with custom elements. `:host` works like you want for custom elements across all browsers afaict. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7261#issuecomment-1120725338 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 9 May 2022 07:11:45 UTC