#163 ✓resolved
Sam Holman

Fix to document.viewport.getDimensions() for Opera 9.5 caused the issue to appear in Opera 9.27.* on Mac OSX

Reported by Sam Holman | June 12th, 2008 @ 07:52 PM | in

The existing comparison for Opera version 9.5 fails for any version numbers other than 9.x, ie. 9.x.x (Note: this only appears to be happening on Opera for OSX).

Line 1240 of dom.js (current):

(B.Opera && opera.version() < 9.5) ? document.body['client' + D] : document.documentElement['client' + D];

Should be changed to:

(B.Opera && parseFloat(opera.version()) < 9.5) ? document.body['client' + D] : document.documentElement['client' + D];

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins