Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#5781 closed bug (fixed)

.offset() setter does not work properly on absolutely positioned elements with top/left set to auto

Reported by: scottgonzalez Owned by: brandon
Priority: major Milestone: 1.4.3
Component: offset Version: 1.4a2
Keywords: Cc:
Blocked by: Blocking:


When an element is absolutely positioned and has the top or left properties set to "auto", the setOffset method defaults the curTop/curLeft variables to 0, causing incorrect position calculations. This probably occurs with fixed positioning as well.

Attachments (1)

offset-setter.html (551 bytes) - added by scottgonzalez 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by scottgonzalez

Attachment: offset-setter.html added

comment:1 Changed 14 years ago by brandon

Status: newassigned

comment:2 Changed 14 years ago by brandon

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.