Got to excited and spoke to soon. Using clientWidth/Height breaks 1
unit test in IE7 and 5 in IE6... still need to investigate why.

--
Brandon Aaron


On Mon, May 18, 2009 at 5:14 PM, Brandon Aaron <brandon.aa...@gmail.com> wrote:
> On Mon, May 18, 2009 at 5:07 PM, Brandon Aaron <brandon.aa...@gmail.com> 
> wrote:
>> Ugh... In IE8, even though the element is display: none, it has a
>> width and height > 0. So, this still fails for IE. Not sure what other
>> elements IE8 does this for.
>>
>> Thoughts anyone?
>
> Looks like clientWidth/Height instead of offsetWidth/Height behave
> properly in all the browsers, including IE8. I still recommend keeping
> the current logic in place to guard against ambiguous dimensions.
>
> --
> Brandon Aaron
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to