Re: [csswg-drafts] [css-anchor-position][css-position] Fixing the animation problem (#9598)

A compromise is to support position interpolation but not size interpolation. This can be implemented very efficiently by having the `translate` property be the way the popup's top-left corner (in LTR-TB writing mode) is positioned, and allowing transitions on that property. If however the popup changes design or layout as a result of the positioning, it changes design immediately (pending a better mechanism to deal with it).

I'm not a fan of the "intermediary sizes are just interpolation of a rectangle" thing, it's not efficient and I don't think it makes sense in the vast majority of the cases where it will happen.

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


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

Received on Thursday, 22 February 2024 17:06:00 UTC