Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 5 years ago

#2993 closed bug (fixed)

.offsetParent() fails on fixed position elements in Opera/IE7

Reported by: scottgonzalez Owned by: scottgonzalez
Priority: major Milestone: 1.3
Component: offset Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

Calling .offsetParent() on a fixed position element returns the document in Opera and IE 7.

Change History (6)

comment:1 Changed 9 years ago by scott.gonzal

Not sure if this is a valid fix, but changing the return statement to

return jQuery(offsetParent || document.body);

fixes this specific problem.

comment:2 Changed 9 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [5715].

comment:3 Changed 9 years ago by flesler

Resolution: fixed
Status: closedreopened

comment:4 Changed 9 years ago by flesler

Owner: changed from brandon to scott.gonzalez
Status: reopenednew

comment:5 Changed 9 years ago by flesler

Resolution: fixed
Status: newclosed

comment:6 Changed 9 years ago by flesler

Priority: blockermajor
Note: See TracTickets for help on using tickets.