Re: [csswg-drafts] [css-transitions] Transition to height (or width) "auto" (#626)

A thought about the interpolation rules:  it seems like it would be better if, as much as possible, developers don't need to write `calc-size()` explicitly, but rather that it's just the intermediate form in the interpolation between two values.  That is, it seems like it would be desirable if it were just possible to animate between 'auto' and '0' rather than having to write one of them in a 'calc-size()'.  But the flip side of this is that doing exactly that could cause compatibility problems because it might cause unexpected animations in existing pages; I think we had previously planned for addressing this risk by leaving room for additional values of the `transition-behavior` property.

So I guess a question is whether it's better for the opt in for this "better" animation behavior be a requirement to write one of the endpoints as a `calc-size()`, or whether it's better for the opt-in to be `transition-behavior`, or something else.

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


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

Received on Friday, 1 December 2023 22:41:49 UTC