Skip to content
  • dino@apple.com's avatar
    2011-04-29 Dean Jackson <dino@apple.com> · 08bd9326
    dino@apple.com authored
            Reviewed by Simon Fraser.
    
            https://bugs.webkit.org/show_bug.cgi?id=59149
            (Regression) Existing animations are not replaced when filling.
    
            Hardware animations that fill forwards were not being correctly
            replaced when the animation was removed. The actual animation
            logic was working correctly, but it wasn't deleting the
            CoreAnimation animation from the PlatformLayer. The fix was
            to explicitly call endAnimation when disconnecting the animation
            from its RenderObject.
    
            Test: animations/3d/replace-filling-transform.html
    
            * page/animation/AnimationBase.h:
            (WebCore::AnimationBase::clear): call endAnimation as the animation is cleared
    
    2011-04-29  Dean Jackson  <dino@apple.com>
    
            Reviewed by Simon Fraser.
    
            https://bugs.webkit.org/show_bug.cgi?id=59149
            (Regression) Existing animations are not replaced when filling.
    
            Add a test that exercises the case where a hardware animation
            is in a filling mode, then is replaced by a new animation.
    
            * animations/3d/replace-filling-transform-expected.txt: Added.
            * animations/3d/replace-filling-transform.html: Added.
            * animations/3d/replace-filling-transform-expected.png: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    08bd9326