This is perfect - could you file a quick ticket on these two issues?
Definitely something that we can resolve here (and dig around for
more).
http://dev.jquery.com/

--John



On Wed, Nov 12, 2008 at 3:57 PM, thenobot <[EMAIL PROTECTED]> wrote:
>
> On Nov 12, 11:24 am, "John Resig" <[EMAIL PROTECTED]> wrote:
>> I'm curious - which cases of 'document' are you having trouble with
>> (which methods are having problems)? I think we'd like to try our hand
>> at fixing those bugs first before we consider more 'drastic'
>> solutions.
>
> Hi John --
>
> Thanks for the reply.  After looking a little harder, it seems my
> solution was inappropriately heavy.  I'm glad your response wasn't "in
> an extension?!?! wtf?!?!?" :-)
>
> So far, the case that is not working for me is in the Width & Height
> method.  Here is a diff that fixes this specific error:
>
> 1354,1355c1359,1360
> <      Math.max(document.body["scroll" + name],
> document.documentElement["scroll" + name]),
> <      Math.max(document.body["offset" + name],
> document.documentElement["offset" + name])
> ---
>>      Math.max(document.body ? document.body["scroll" + name] : 0, 
>> document.documentElement["scroll" + name]),
>>      Math.max(document.body ? document.body["offset" + name] : 0, 
>> document.documentElement["offset" + name])
>
> The curCss() method also has trouble.  Here's my diff on that one:
>
> 871c871,876
> <       var computedStyle = defaultView.getComputedStyle( elem,
> null );
> ---
>>       var computedStyle = null;
>>
>>       try {
>>         defaultView.getComputedStyle( elem, null );
>>       } catch(e) {
>>          // not sure what to do here
>>       }
>
> Anyhow, thanks again John.  Let me know if I can give some more
> information.
>
> -zs
> >
>

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

Reply via email to