Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 3 years ago

#1615 closed bug (worksforme)

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 (950 bytes) - added by miksago 13 years ago.
This is the test cases run so far.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by miksago

Attachment: animBug.html added

This is the test cases run so far.

comment:1 Changed 13 years ago by miksago

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

comment:2 Changed 13 years ago by john

Resolution: worksforme
Status: newclosed

Fixed in SVN.

comment:3 Changed 3 years ago by Ryan J Ollos

Cc: john resig removed
Note: See TracTickets for help on using tickets.