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

> (This also has the downside that using keywords with - in them inside of a calc() function is awkward because it looks like a minus.)

Not really an issue, since calculations require spaces around their `+` and `-` signs already.

> is it worth considering the following alternative 

I'd considered that! Beyond the difficulty of understanding the error when you use two, this has the additional issue that you can't use a % as your basis, so you can't transition from a (cyclic) 100% to 0. It would just transition as a normal length-percentage, so you'd get a cyclic `calc(50%)` at the middle, which is the same height as the starting cyclic `calc(100%)`.

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


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

Received on Tuesday, 19 December 2023 19:41:15 UTC