Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix #7641: .animate() should accept "auto" and "" (empty string) values #408
Correct me if I'm wrong, but won't this only work if there are uncomputed styles set that we can fall back to? For instance, the default value of width is "auto" and unless a width is set somewhere in the user css that isn't auto, we still can't do the animation. Doesn't sound like full support of animating "auto".
Sorry, the discussion continued in the bug report and on IRC:
"The problem of the "auto" value returned for computed style is also present in other part of the effects code, see how jQuery.fx.cur() deals with it. This didn't prevent us from writing the effect component ;-)"
I think Timmywil agreed with that (we can discuss it again if necessary).