- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Nov 2021 22:27:32 +0000
- To: public-css-archive@w3.org
> That's per definition shadow-including descendants/ancestors No, that's basically flat tree - a ::part(), selecting an element in the shadow, would see shadow ancestors before it escapes back into the light tree and starts seeing light ancestors. Anders is talking about something more akin to the tree-scoped names rule, where the tree scope of the @container rule affects what container elements are visible to it. A `@container { ::part() {...} }`, since it appears in the light tree's styles, will skip container elements automatically until it's back in the tree scope it was defined in, at which point it can see all ancestor scopes as well. I think that makes sense? -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5984#issuecomment-966670401 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 November 2021 22:27:34 UTC