- From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 Feb 2023 20:06:36 +0000
- To: public-css-archive@w3.org
xiaochengh has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-anchor] `position-fallback` and `anchor-scroll` should work with sticky positioned anchors == The current spec takes a [snapshotted scroll offset](https://drafts4.csswg.org/css-anchor-1/#snapshotted-scroll-offset) of the anchor element. When the anchor has `position:sticky` and is stuck, this offset no longer matches the actual offset of the anchor element. Then both `position-fallback` and `anchor-scroll` fail. Test case (by @jh3y): https://codepen.io/web-dot-dev/pen/dyqbqjE/8b6fc20f812f33ba4920620bb9af3604 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8448 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 13 February 2023 20:06:38 UTC