Skip to main content

Search and Top Navigation

#7006 closed bug (fixed)

Opened February 17, 2011 06:03PM UTC

Closed April 15, 2011 01:32PM UTC

Position: fixed positioned element require left and top to be set prior to call in WebKit

Reported by: tregoning Owned by:
Priority: minor Milestone: 1.8.9
Component: ui.position Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

Positioning an element using jquery.ui.position.js on an element that has the CSS position property set to "fixed" does not positions the element correctly in WebKit based browsers (Safari, Chrome).

Reduced test: http://jsbin.com/positionBugDemo/2

QUnit test: http://jsbin.com/positionBug

Attachments (0)
Change History (3)

Changed February 18, 2011 01:25PM UTC by scottgonzalez comment:1

status: newopen
summary: Issue when using position({...}) on a "fixed" positioned element in WebKit Browsers.Position: fixed positioned element require left and top to be set prior to call in WebKit

Changed February 18, 2011 01:44PM UTC by scottgonzalez comment:2

This is a bug in jQuery core: http://bugs.jquery.com/ticket/8316

Changed April 15, 2011 01:32PM UTC by scottgonzalez comment:3

milestone: 1.91.8.9
resolution: → fixed
status: openclosed

This is fixed in jQuery 1.5.2.