Bug Tracker

Ticket #5781 (closed bug: fixed)

Opened 6 years ago

Last modified 3 years ago

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

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


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.


offset-setter.html Download (551 bytes) - added by scott.gonzalez 6 years ago.

Change History

Changed 6 years ago by scott.gonzalez

comment:1 Changed 5 years ago by brandon

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

comment:2 Changed 5 years ago by brandon

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