Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 4 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.

Change History (2)

comment:1 Changed 6 years ago by brandon

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

comment:2 Changed 6 years ago by brandon

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