Probably feature. I imagine when you want dimensions, you want what the dimensions are if the element were showing, not 0x0 when it isn't. Or am I misunderstanding the question?
Greg > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Lorenz Knies > Sent: Friday, March 17, 2006 9:21 AM > To: [email protected] > Subject: [Rails-spinoffs] Element.getDimensions > > Hi all, > > should it be considered a bug that Element.getDimensions returns the > offsetWidth and offsetHeight properties from elemens having not > display none, but clientWidth and clientHeight from elements with > display none? > Or is it a feature? > > Regards Lorenz > _______________________________________________ > Rails-spinoffs mailing list > [email protected] > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
