Skip to main content

Bug Tracker

Side navigation

#1615 closed bug (worksforme)

Opened September 14, 2007 07:07AM UTC

Closed September 15, 2007 02:54AM UTC

Last modified April 23, 2017 11:34PM UTC

Animation Calculation Bug.

Reported by: miksago Owned by:
Priority: critical Milestone: 1.2.1
Component: effects Version: 1.2
Keywords: Cc:
Blocked by: Blocking:
Description

Test Case:

Jquery:

      $('#block').animate({left: 20}, 500);
      $('#block').animate({left: 20}, 500);
      $('#block').animate({left: -20}, 500);

Html:

<div id="block" style="background: green; height: 100px; width: 100px; position: relative"/>

Result:

<div style="background: green; height: 100px; width: 100px; position: relative; left: 0px;" id="block">
</div>

It Appears that when animating any css property, using a positive then a negative value, the property animates perfectly to the positive value, but it's left at 0 after animating on a negative, no matter how much was take away.

Attachments (1)
  • animBug.html (0.9 KB) - added by miksago September 14, 2007 07:08AM UTC.

    This is the test cases run so far.

Change History (3)

Changed September 14, 2007 07:34AM UTC by miksago comment:1

Line no: 2592 is said to be the exact line of buggy code (this information comes from StevenTyler, #jquery, freenode irc.)

Changed September 15, 2007 02:54AM UTC by john comment:2

resolution: → worksforme
status: newclosed

Fixed in SVN.

Changed April 23, 2017 11:34PM UTC by rjollos comment:3

cc: john resig