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

I think something like `size-interpolation` as a property name makes more sense to me, e.g. where we would interpolate sizes we instead use either the first or last value and apply a scale.

> An explicit scale animation overrides this. Otherwise a new property would be needed and it's perhaps an overkill.

It doesn't necessarily need another property - it could be additional values for width / height that imply a scale e.g. `width: 50px / 50%`.

Another problem with using the `scale` property is that it will do the visually wrong thing if your transform-origin isn't `top left` which it isn't by default..

If we have a separate scale mechanism we could apply this always from the top left in combination with developer scale animations or other things.

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


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

Received on Wednesday, 5 November 2025 18:44:29 UTC