Skip to main content

Bug Tracker

Side navigation

#5588 closed bug (worksforme)

Opened December 03, 2009 12:12PM UTC

Closed December 10, 2009 06:28AM UTC

Last modified March 15, 2012 10:35AM UTC

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:

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:

Attachments (0)
Change History (2)

Changed December 03, 2009 05:12PM UTC by dmethvin comment:1

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.

Changed December 10, 2009 06:28AM UTC by john comment:2

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.