• igor.o@sisa.samsung.com's avatar
    Source/WebCore: Implement reverse animation direction · db6a62c0
    igor.o@sisa.samsung.com authored
    Implement reverse animation direction
    https://bugs.webkit.org/show_bug.cgi?id=60525
    
    Implement reverse and alternate-reverse direction.
    
    Reviewed by Dean Jackson.
    
    Tests: animations/animation-direction-alternate-reverse.html
           animations/animation-direction-reverse.html
           animations/fill-mode-reverse.html
    
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseAnimationDirection):
    * css/CSSStyleSelector.cpp:
    (WebCore::CSSStyleSelector::mapAnimationDirection):
    * css/CSSValueKeywords.in:
    * page/WebKitAnimation.cpp:
    (WebCore::WebKitAnimation::direction):
    * page/WebKitAnimation.h:
    * page/animation/AnimationBase.cpp:
    (WebCore::AnimationBase::fractionalTime):
    * platform/animation/Animation.h:
    (Animation):
    * platform/graphics/texmap/TextureMapperAnimation.cpp:
    (WebCore):
    (WebCore::shouldReverseAnimationValue):
    (WebCore::normalizedAnimationValue):
    
    LayoutTests: Implement reverse animation direction
    https://bugs.webkit.org/show_bug.cgi?id=60525
    
    Add test for ...
    db6a62c0
fill-mode-reverse-expected.txt 839 Bytes