Bug Tracker

Ticket #5588 (closed bug: worksforme)

Opened 5 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 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 5 years ago by john

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

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.