Bug Tracker

Ticket #2993 (closed bug: fixed)

Opened 6 years ago

Last modified 3 years ago

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

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

Description

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

Change History

comment:1 Changed 6 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 6 years ago by scott.gonzal

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

Fixed in [5715].

comment:3 Changed 6 years ago by flesler

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 6 years ago by flesler

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

comment:5 Changed 6 years ago by flesler

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

comment:6 Changed 6 years ago by flesler

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