Re: [csswg-drafts] [css-anchor-position] When does anchor-scope "match" a name? (#10526)

I think (2) is correct? We already have the requirement (per ["target anchor element"](https://drafts.csswg.org/css-anchor-position/#target-anchor-element)) that the anchor name and the anchor reference have to have matching tree scopes.

I think the only effect of doing (1) would be that a positioned element slotted into a shadow could get scoped by an 'anchor-scope' inside the shadow, preventing it from seeing the anchor that's in the light tree elsewhere on the page. Right? That seems pretty unexpected.

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


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

Received on Friday, 30 August 2024 19:01:40 UTC