[csswg-drafts] [css-values-5] Interpolating calc-size() more generally (#10294)

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Interpolating calc-size() more generally ==
Per the [recent resolution](https://github.com/w3c/csswg-drafts/issues/626#issuecomment-2101014632), we've confirmed that, by default, you only get the calc-size() interpolation behavior if at least one side has calc-size() - that is, interpolating from `0` to `auto` continues to not work; you have to either `calc-size(0)` or `calc-size(auto)` (or both).

It was requested in the meeting that there be a way to opt into calc-size() interpolation without having to modify the start/end values, similar to how discretely-animatable values *don't* transition by default, but can be opted into via [`transition-behavior`](https://drafts.csswg.org/css-transitions-2/#transition-behavior-property).

The most obvious solution is to just use `transition-behavior`, with a new value that indicates we should use the more powerful size interpolation. I think @flackr has an objection to that, tho.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10294 using your GitHub account


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

Received on Wednesday, 8 May 2024 17:03:52 UTC