Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10486 (new defect)

Opened 2 years ago

Last modified 1 year ago

[PATCH] Element.viewportOffset stopped working in Opera 9.5

Reported by: staaky Assigned to: sam
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: normal Keywords: viewportoffset opera
Cc: hallvors

Description

Element.viewportOffset stopped working in Opera 9.5

The problem is based on this change in the Opera changelog:

Fixed problem displaying maps on theaa.com caused by scrollTop working 
on both the html and body element simultaneously.

Opera now has the scrollTop and scrollLeft only on the HTML element like other browsers. I've added a patch with a backwards compatible fix and made a test-case.

Attachments

element.viewportoffset.opera9.5.fix.diff (0.6 kB) - added by staaky on 12/12/07 22:37:54.

Change History

12/12/07 22:37:54 changed by staaky

  • attachment element.viewportoffset.opera9.5.fix.diff added.

12/12/07 23:17:24 changed by staaky

  • summary changed from [PATCH] fix Element.viewportOffset for Opera 9.5 to [PATCH] Element.viewportOffset stopped working in Opera 9.5.

01/30/08 10:34:43 changed by hallvors

  • cc set to hallvors.