getComputedSize let's you measure the width + various outer-box-model
values. It's been tested in IE pretty thoroughly. I don't have IE handy so I
can't hit your fiddle. If you have a bug with it, open a ticket in
lighthouse. If you can find a fix for it, that's even better. Send us a
patch!

On Mon, Mar 7, 2011 at 2:50 PM, Andrea Dessì <[email protected]> wrote:

> Hi all,
>
> I've searched for bugs at lighthouse about Element.getComputedSize()
> and I've found something 2 years ago old. :)
>
> So the question is:
> what is the right value? getComputedSize().totalWidth or
> getDimension().width?
>
> This example works well with FF / chrome. It's a mess with IE.
> http://jsfiddle.net/NKjoep/VvrAs/
>
> is it better just to use getDimensions()?
>
> --
> Andrea
>

Reply via email to