Bug Tracker

Opened 7 years ago

Closed 7 years ago

#3341 closed bug (duplicate)

Offset of positioned fixed elements buggy in Safari

Reported by: dtetto Owned by: brandon
Priority: minor Milestone: 1.3
Component: offset Version: 1.2.6
Keywords: offset, safari, fixed, position Cc:
Blocked by: Blocking:


In Safari 3.1 the offset is misreported for position:fixed elements inside any positioned element. The offset of the container element plus the offset from the document is returned, rather than just the offset from the document. This problem still exists in the latest Webkit nightlies. The bug does not occur in Firefox 2 or 3, nor IE7 (not applicable in IE6, which support fixed positioning).

I've demonstrated this in a testcase here: http://www.babywhale.net/offset/

Change History (1)

comment:1 Changed 7 years ago by brandon

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

duplicate of #4263

Note: See TracTickets for help on using tickets.