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

> But then if you add some contents that would make auto resolve to 50px

So I also had a step 5. that I omitted for simplicity as I didn't think it applied to the simpler case:

5. if the contents change during the transition, then restart from step 1, but during step 2. omit any transitional value when calculating the new `auto`

But I'm not sure that addresses your case.

> then the height should immediately become (50px + 200px) / 2 = 125px

Hmmm, I'm struggling to understand this; if an explicit height is set to 200px, then shouldn't the final value remain at 200px?  So no adjustment needs to be made to the ongoing transition?   I can't think of a layout example where an explicit height _adds_ to the height derived from the content? 




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


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

Received on Monday, 28 February 2022 12:01:49 UTC