Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 6 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:

Description

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 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by scottgonzalez

Attachment: offset-setter.html added

comment:1 Changed 8 years ago by brandon

Milestone: 1.41.4.3
Status: newassigned

comment:2 Changed 8 years ago by brandon

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