On 1/9/07, Dave Methvin <[EMAIL PROTECTED]> wrote: > > > I have left some code in the .height() and .width() methods > > to take a value to set the height or width. This behavior will > > not be documented and is to be deprecated in 1.1 but I have > > left it in for backwards compatibility. Do not rely on this > > behavior because it will be removed in the future. > > The core .height() and .width() methods are also setters though. If that's > deprecated then we're back to dimensions.js having different behavior than > the core methods it replaces. Or are the core methods losing their setter > ability too?
The core .height() and .width() methods are deprecated in 1.1. The added code is so that the methods are backwards compatible with previous versions of jQuery that use the .height() and .width() methods as setters. The setter part of the .height() and .width() methods in dimensions will eventually be removed. -- Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/