[Webkit-unassigned] [Bug 156731] New: Toggling animation-play-state can re-start a finished animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 22:22:50 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156731

            Bug ID: 156731
           Summary: Toggling animation-play-state can re-start a finished
                    animation
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: dino at apple.com

Created attachment 276694
  --> https://bugs.webkit.org/attachment.cgi?id=276694&action=review
Testcase

In the attached test case, hover the box and wait for the animation to finish. Then un-hover and re-hover. Note how the animation restarts.

In other browsers, the animation does not restart, which is correct because the animation-name property still applies to the element. Our mistake is to completely remove finished animations in CompositeAnimation::updateKeyframeAnimations(). We need to keep some state around to know that we shouldn't re-run this animation when play-state changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160419/54aebcd2/attachment.html>


More information about the webkit-unassigned mailing list