- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Thu, 02 Apr 2026 20:18:27 +0000
- To: public-css-archive@w3.org
Yeah I assume an anchor() would be usable in place of any X or Y component, choosing the appropriate axis. If you want to use X and Y both from a single anchor you'd have to repeat the `anchor()` function for both coords. > caveat here being I have no idea how one would extract an X or Y component from what I guess I would call a Vector of an anchor position, should that even be necessary. Note that `anchor()` doesn't resolve to a vector or 2d position, it resolves to a horizontal *or* vertical offset from the edge of the positioning container to the desired edge of the anchor; whatever value would be needed to align the two desired edges. So it's straightforward to use here. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13716#issuecomment-4180263354 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 April 2026 20:18:28 UTC