- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Nov 2024 12:41:40 +0000
- To: public-css-archive@w3.org
> Edit: or maybe just let :root match the host, while in :host-context(:root) it refers to the actual root (or host's host)? Hmm, this is basically the same as allowing `:scope` to point to different things depending on where it appears in a selector, which I'm pretty sure we explicitly decided to avoid in the past (@mirisuzanne). Although `:host-context()` might be enough of an "explicit tree-context switch" that it's OK after all ... > So maybe just changing :scope but not :root would offer more flexibility. I think this move makes more sense, since `:scope` is already intended to be the "root in some context". > :where(:host, :scope, :root) If we let `:scope` match the host, you'd only need `:scope` for that. -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11000#issuecomment-2488484663 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 November 2024 12:41:41 UTC