Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 5 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 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by scottgonzalez

comment:1 Changed 7 years ago by brandon

  • Milestone changed from 1.4 to 1.4.3
  • Status changed from new to assigned

comment:2 Changed 7 years ago by brandon

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.