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

Could the browser "imagine" the element and figure out the computed value with things like `auto` or `fit-content`, and then when asked to render this animation, it just animates between the previously computed value and the original value? For example, I have an element that could contain 2 or 3 children. So, the browser could compute the height of the element before rendering the element, which could be 200 or 300px and then, on state change, it animates between 0px (starting value) and 200 or 300px. Why would that not work?

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


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

Received on Sunday, 2 July 2023 02:38:42 UTC