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

What I am suggesting it to treat this new keyword like a definite size against which you can resolve percentages.

For the new keyword, I'll call it `auto-size`, take the current formula for calculating `auto` (or a formula that functions similarly enough), and then use the final output value of that as the definite size of `auto-size`, and treat everything, including the contents, as if `auto-size` were a pixel value.

Even if there are cyclical aspects of the initial formula, the final output value is all we care about, and so long as we treat that final output value as a pixel value, and resolve everything against that, it should be useable in transitions.

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


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

Received on Monday, 8 January 2024 19:09:04 UTC