- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Oct 2022 15:18:17 +0000
- To: public-css-archive@w3.org
Hm, I think it's still wrong actually. References are meant to search their own tree first, then search their host tree if they didn't find anything, etc, so an `anchor(--foo)` in a shadow tree *should* be able to find an `anchor-name: --foo` in the light DOM (but not in reverse). See [the last paragraph of the tree-scoped references section](https://w3c.github.io/csswg-drafts/css-scoping/#shadow-names). So the currently specced behavior is just a little too restrictive. I probably need to define a callable algo in Scoping that makes this Just Work Correctly, considering *I wrote the Scoping spec* and still did this wrong. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7916#issuecomment-1287111618 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 21 October 2022 15:18:19 UTC