Re: [csswg-drafts] [css-anchor-1] Can't anchor one popover to another (#8165)

> I made a PR for the idea.

This is great, thank you for working on this! Can't wait to try it :)

> Btw, when there are multiple anchors with the same name, maybe we should return the last acceptable anchor instead of the first one (as we currently do)?

This sounds really nice! I mean, ideally, it would be better to get the _closest_ element to the one we're anchoring, but I imagine it is much harder to both define and implement? If so, then using the last one instead is fine, and would be very useful for the chaining use-case, while I can't think of any use-case where anchoring to the first element would help.


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


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

Received on Saturday, 29 April 2023 08:15:09 UTC