Re: [csswg-drafts] [css-anchor] Allow anchoring to pointer (#8639)

The syntax allows this. Named anchors require dashed idents, so we can add non-dashed idents to refer to special anchors like this - `anchor(pointer top)`, etc.

The layout model should allow it too - pointer position is outside of layout entirely, so in theory it's pipeable into this system without issue.

Impl is potentially a different story, since we'd want to make sure it was accurate each frame (rather than lagging a frame behind). @xiaochengh will have to speak to that, for Chrome's impl at least.

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


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

Received on Friday, 24 March 2023 17:02:59 UTC