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

In the interest of making the most common use cases simple and easy, while still making other things possible, what if we accepted this syntax, but also said that if the second argument is omitted, then it is equivalent to writing `size` as the second argument?

I'd also think that we could say any valid `calc()` argument would be equally valid for either argument of `calc-size`. 

Together, these would make `calc-size` as easy to use as `calc`, with some restrictions on how to use intrinsic lengths in interpolations, and the ability to add a second argument for doing slightly more advanced stuff. 

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


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

Received on Thursday, 21 December 2023 03:21:56 UTC