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

One other thought about the proposed syntax here: is it worth considering the following alternative (which I think is probably easier to read but harder to write/debug):
* instead of having a `calc-size()` function, just use the `calc()` function and put the sizing keywords (`auto`, `fit-content`, etc.) directly inside the function
* restrict the `calc()` function to taking at most one of the sizing keywords (i.e., make it a syntax error to have more than one)

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

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/626#issuecomment-1863238679 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 17:56:06 UTC