On Thu, Nov 8, 2012 at 4:46 PM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote: > Any plans to add this to the CSS spec? Right now, even with JS, it is not > possible to do this elegantly. Yes, it's a major lack in Transitions right now. It's not easy to fix, though - Transitions currently fire only when the computed value changes, while 'auto' is translated into a length at used-value time. It may be possible to special-case width/height, without too much trouble, so that transitions to/from auto work as expected. However, this won't allow you to, say, transition the height of an element which is 'auto' the entire time, but changes due to a child changing height. ~TJReceived on Tuesday, 13 November 2012 19:43:13 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:23 UTC