Bug Tracker

Modify

Ticket #4413 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to fixed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.