Skip to main content

Bug Tracker

Side navigation

#2993 closed bug (fixed)

Opened June 05, 2008 03:46PM UTC

Closed July 15, 2008 02:54AM UTC

Last modified March 14, 2012 05:02PM UTC

.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.

Attachments (0)
Change History (6)

Changed June 05, 2008 03:47PM UTC by scott.gonzal comment:1

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

return jQuery(offsetParent || document.body);

fixes this specific problem.

Changed June 06, 2008 12:28AM UTC by scott.gonzal comment:2

resolution: → fixed
status: newclosed

Fixed in [5715].

Changed July 15, 2008 02:53AM UTC by flesler comment:3

resolution: fixed
status: closedreopened

Changed July 15, 2008 02:54AM UTC by flesler comment:4

owner: brandonscott.gonzalez
status: reopenednew

Changed July 15, 2008 02:54AM UTC by flesler comment:5

resolution: → fixed
status: newclosed

Changed October 21, 2008 01:55AM UTC by flesler comment:6

priority: blockermajor