Bug Tracker

Modify

Ticket #5588 (closed bug: worksforme)

Opened 4 years ago

Last modified 2 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 4 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 4 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.

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.