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

> Off-topic, but something I've been wondering recently: are width/height/inset transitions/animations on absolutely-positioned elements with no contents (e.g. just a box with a background) GPU-optimized?

Not currently, but it is feasible to do. We would have to fall back to main thread animations if you added other properties but we can make the default styles fast.

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


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

Received on Thursday, 13 November 2025 16:57:18 UTC