Skip to main content

Bug Tracker

Side navigation

#3341 closed bug (duplicate)

Opened September 09, 2008 12:12AM UTC

Closed March 17, 2009 09:30PM UTC

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:
Description

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/

Attachments (0)
Change History (1)

Changed March 17, 2009 09:30PM UTC by brandon comment:1

resolution: → duplicate
status: newclosed

duplicate of #4263