• dino@apple.com's avatar
    Animations do not restart after exiting page cache · dc08fd84
    dino@apple.com authored
    Reviewed by Tim Horton.
    Animations are suspended as they enter the page cache, but
    were not getting correctly resumed when exiting. The cause
    was an error in r149576 which was checking a global flag for suspension
    on the AnimationController and thus not trying to resume anything.
    Test: animations/resume-after-page-cache.html
    * page/animation/AnimationController.cpp:
    New test to make sure an animation will resume if it
    enters and leaves the page cache.
    * animations/resources/page-cache-helper.html: Added.
    * animations/resume-after-page-cache-expected.txt: Added.
    * animations/resume-after-page-cache.html: Added.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
resume-after-page-cache-expected.txt 109 Bytes