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.
Line no: 2592 is said to be the exact line of buggy code (this information comes from StevenTyler, #jquery, freenode irc.)