Re: [csswg-drafts] [css-animations-2] Allow expressing width/height animations as scale animations (#13064)

> This request in the OP is what the Motion library does. See https://motion.dev/blog/web-animation-performance-tier-list#:~:text=cost%3A%20DOM%20measurements.-,Layout%20animations,-Motion%20has%20a.
> 
> They also have a workaround for potential distortions:
> 
> > Motion corrects for this every frame, by calculating inverse transforms and border-radius for an element and its children.

Oh cool
Animating border radius is not guaranteed to be composited IIRC, but doing something like this would have great value IMO

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


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

Received on Friday, 7 November 2025 13:13:18 UTC