Re: [csswg-drafts] [css-anchor-1] Allow smooth transitioning between fallback positions (#8372)

(After more thoughts) I found an issue with approach 1.

With snapshotting, after making a change, it often takes more than one frames for the page layout to stabilize. This happens if we add `position-fallback` to an already rendered element, resize a scroller, etc.

During this stabilization process, every time the layout changes, it creates an additional transition that the page author does not intend to have. This means there's still no smooth transition, which is the whole purpose we are trying to achieve here.

Such extra transitions will be extremely hard to remove (or even predict) from the author's side. And I'm not sure if there's a good way to tell good vs. bad transitions on the spec/impl side.

So we may have to go for approach 2 and make anchor positioning fully CQ-like.

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


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

Received on Tuesday, 31 January 2023 02:19:57 UTC