Modify ↓
Ticket #4413 (closed bug: fixed)
Cannot animate by negative percentage in IE
| Reported by: | rdmarshall | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | animate | Cc: | |
| Blocking: | Blocked by: |
Description
[IE only; works correctly in Firefox, Chrome, Safari]
When an element's style property is a negative percentage, the pixel value is not calculated.
Looking at the code for Jquery 1.3.2, seems like the regex "\d" matches digits only but not negative numbers (or decimals for that matter - see ticket #4296)
In the vicinity of From the awesome hack by Dean Edwards
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.

Fixed in 1.4 ... at least, the rnumpx now looks for negative numbers.