Side navigation
#8316 closed bug (fixed)
Opened February 18, 2011 01:43PM UTC
Closed March 24, 2011 11:02PM UTC
Last modified March 09, 2012 07:59AM UTC
.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
Attachments (0)
Change History (6)
Changed February 19, 2011 10:23AM UTC by comment:1
| component: | unfiled → offset | 
|---|---|
| priority: | undecided → high | 
| status: | new → open | 
Changed February 25, 2011 01:47AM UTC by comment:2
I have a proposed fix for this issue. Pull request is here: https://github.com/jquery/jquery/pull/246
Changed March 21, 2011 04:47PM UTC by comment:3
| milestone: | 1.next → 1.5.2 | 
|---|---|
| priority: | high → blocker | 
Changed March 24, 2011 06:12PM UTC by comment:4
| owner: | → john | 
|---|---|
| status: | open → assigned | 
Changed March 24, 2011 11:02PM UTC by comment:5
| resolution: | → fixed | 
|---|---|
| status: | assigned → closed | 
Offset setter for fixed position elements in Webkit. Fixes #8316.
Changeset: e8f4629b924cae0b0f1847d2368031f06bc08149
Changed October 01, 2011 07:07PM UTC by comment:6
possible related issue: getting the offset for a auto-positioned child of a fixed-position element doesn't return the correct value.
test case replicated on jsfiddle.