Re: [csswg-drafts] [css-anchor] anchor-name should not leak out of a shadow tree (#7916)

Ah, hm, you're right. My algo is wrong, it *should* be allowed for light dom to set `::part(foo) { position: absolute; top: anchor(--target top); }`, with `anchor-name: --target;` set in the light dom (and without fear of accidentally hitting an `anchor-name: --target` in the shadow). I'll need to tweak things a little to rely on the tree-scoped bit more explicitly.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7916#issuecomment-1285805529 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 20 October 2022 16:02:01 UTC