• simon.fraser@apple.com's avatar
    2010-03-25 Simon Fraser <simon.fraser@apple.com> · 0c0d5a19
    simon.fraser@apple.com authored
            Reviewed by Geoffrey Garen.
    
            https://bugs.webkit.org/show_bug.cgi?id=36557
            Animations use the wrong timing-function sometimes
    
            Fix an issue where animations picked the wrong style for their "unanimated" value.
    
            Previously, the "unanimated" style was considered to be the style before the animation
            was applied. This caused us to pick up stale values for animation timing functions, for
            blending when a property is missing from the first keyframe, and for resuming transitions
            once an animation ends.
    
            Instead, we need to use the "current" style, which is the one that causes the animation
            to kick off.
    
            Tests: animations/longhand-timing-function.html
                   animations/transition-and-animation-3.html
                   animations/unanimated-style.html
    
            * page/animation/CompositeAnimation.cpp:
            (WebCore::CompositeAnimation::updateKeyframeAnimations):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0c0d5a19