Bug Tracker

Ticket #5781 (closed bug: fixed)

Opened 5 years ago

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

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

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

Change History

Changed 5 years ago by scott.gonzalez

comment:1 Changed 4 years ago by brandon

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

comment:2 Changed 4 years ago by brandon

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