Modify ↓
Ticket #5781 (closed bug: fixed)
.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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

