Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 4 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 8 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 8 years ago by scott.gonzal

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [5715].

comment:3 Changed 8 years ago by flesler

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 8 years ago by flesler

  • Owner changed from brandon to scott.gonzalez
  • Status changed from reopened to new

comment:5 Changed 8 years ago by flesler

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 7 years ago by flesler

  • Priority changed from blocker to major
Note: See TracTickets for help on using tickets.