• 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.
            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
            * page/animation/CompositeAnimation.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
transition-and-animation-3-expected.txt 168 Bytes