Skip to main content

Bug Tracker

Side navigation

#10681 closed bug (duplicate)

Opened November 05, 2011 09:14AM UTC

Closed November 05, 2011 06:00PM UTC

Last modified November 05, 2011 06:00PM UTC

Got a wrong result with animate({width:'90%'},600)

Reported by: anymango@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

I made one function with this animate method below:

$node.stop().animate({width:'90%'},600);

It works well In jQuery 1.64, but got a {width:'90px'} result in jQuery 1.7.

Attachments (0)
Change History (4)

Changed November 05, 2011 03:25PM UTC by phil@profilepicture.co.uk comment:1

Changed November 05, 2011 05:28PM UTC by anymango@gmail.com comment:2

Replying to [comment:1 phil@…]:

See here: http://jsfiddle.net/cSWgc/

I've executed this script, and the red rectangle's width became an '100px';

In jQuery 1.64, it's a '400px' result.

Changed November 05, 2011 06:00PM UTC by timmywil comment:3

resolution: → duplicate
status: newclosed

Changed November 05, 2011 06:00PM UTC by timmywil comment:4

Duplicate of #10669.