Could someone create a ticket for this?
Thanks.

- kangax

On Mar 6, 2:56 am, "artemy tregoubenko" <[EMAIL PROTECTED]>
wrote:
> I can confirm this. Found it some time ago and decided to wait till release.
>
> On 3/6/08, Matthew <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> >  The relevant code in version 1.6.0.2 is:
>
> >  dimensions[d] = (B.WebKit && !document.evaluate) ? self['inner' + D] :
> >         (B.Opera) ? document.body['client' + D] :
> >  document.documentElement['client' + D];
>
> >  Here Opera 9.5 in strict mode behaves just like Firefox and IE 6 in
> >  strict mode, so the above code will not work. Under Opera 9.5 strict,
> >  the current code will return the height of the body, not the viewport.
> >  But in Opera 6 to 9, document.body.clientHeight is always the height
> >  of the viewport, so a generic browser check won't suffice.
>
> >  So to summarize, viewport.getDimensions() is broken under Opera 9.5
> >  strict but works fine in Opera 9.5 quirks, which is the opposite of
> >  what one would expect. I know Opera 9.5 is a beta, but surely its new
> >  behavior is intentional.
>
> >  --
> >  Matthew Leverton
>
> --
> arty (http://arty.name)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to