[Webkit-unassigned] [Bug 43023] CSS Animations: Restarting animations without a setTimeout doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 11:29:10 PDT 2011


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





--- Comment #6 from Rik Cabanier <cabanier at adobe.com>  2011-03-29 11:29:11 PST ---
(In reply to comment #4)
> I think https://bugs.webkit.org/show_bug.cgi?id=54151 might cover this. We need to flesh out the API a little more, but it would be something like:
> 
> var a = myElement.webkitGetAnimation()[0];
> a.pause();
> a.elapsedTime = 0;
> a.play();

I don't believe this will solve the problem since the event will fire asynchronously. Because of this, it will be too late by the time the JS code is executed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list