Skip to main content

Bug Tracker

Side navigation

#4413 closed bug (fixed)

Opened March 24, 2009 10:40PM UTC

Closed June 12, 2010 01:50PM UTC

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

Attachments (0)
Change History (1)

Changed June 12, 2010 01:50PM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

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