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

> [you have to] transition from auto to calc-size(any, 0px)

uh, that's ugly.

So, transition from auto to/from 0px *still* won't work?

> backwards compat prevents us from automatically using calc-size() when interpolating between two values. See https://github.com/w3c/csswg-drafts/issues/626#issuecomment-1869828293.

I don't see from comment #626 what prevents transition from auto to 0px to work. Given that this never worked so far, there shouldn't be any backwards compat issues. Esp. if it would now do exactly what it says.

> there's some value in being able to do these sort of calculations manually, like saying "I want this to be max-content width, plus 20px".

Agreed.

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


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

Received on Thursday, 18 January 2024 22:13:31 UTC