#8316 closed bug (fixed)
.offset() setter works incorrectly in Webkit for fixed position elements that haven't defined left/top style properties
Reported by: | scottgonzalez | Owned by: | john |
---|---|---|---|
Priority: | blocker | Milestone: | 1.5.2 |
Component: | offset | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If an element has position: fixed, but doesn't specify a left or top style property, calling .offset({...}) does not position the element correctly.
related jQuery UI bug: http://bugs.jqueryui.com/ticket/7006
Change History (6)
comment:1 Changed 12 years ago by
Component: | unfiled → offset |
---|---|
Priority: | undecided → high |
Status: | new → open |
comment:2 Changed 12 years ago by
I have a proposed fix for this issue. Pull request is here: https://github.com/jquery/jquery/pull/246
comment:3 Changed 12 years ago by
Milestone: | 1.next → 1.5.2 |
---|---|
Priority: | high → blocker |
comment:4 Changed 12 years ago by
Owner: | set to john |
---|---|
Status: | open → assigned |
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Offset setter for fixed position elements in Webkit. Fixes #8316.
Changeset: e8f4629b924cae0b0f1847d2368031f06bc08149
comment:6 Changed 11 years ago by
possible related issue: getting the offset for a auto-positioned child of a fixed-position element doesn't return the correct value.
Note: See
TracTickets for help on using
tickets.
test case replicated on jsfiddle.