Opened 15 years ago
Closed 13 years ago
#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: | |
Blocked by: | Blocking: |
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
Note: See
TracTickets for help on using
tickets.
Fixed in 1.4 ... at least, the rnumpx now looks for negative numbers.