Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#5588 closed bug (worksforme)

Assigning negative height or width in animation causes IE to throw an error

Reported by: stickmus Owned by:
Priority: minor Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

If you try to assign a negative height or width for an animation IE throws an error, which then breaks future animations for that dom element. See test page here:

http://dl.dropbox.com/u/2631/negativeAnimTest.html

Change History (2)

comment:1 Changed 14 years ago by dmethvin

Is it ever okay to set negative height/width? This sounds like a programming error. jQuery doesn't try to validate all the inputs it's given, that would take quite a bit of code.

comment:2 Changed 14 years ago by john

Resolution: worksforme
Status: newclosed

This was actually just fixed recently, to take care of easing animations that went to negative numbers. It will be in 1.4.

Note: See TracTickets for help on using tickets.