RESOLVED DUPLICATE of bug 256651127174
setCurrentTime method breaks svg animation
https://bugs.webkit.org/show_bug.cgi?id=127174
Summary setCurrentTime method breaks svg animation
Tamas Gergely
Reported 2014-01-17 07:26:31 PST
Created attachment 221465 [details] svg that triggers the bug. Using document.documentElement.setCurrentTime() with a time value greater than the duration of the svg animation results in the animation is finished after the second repeat. This happens when the animation begin time is (syncbase) dependent on the end time of itself. Using repeatDur instead of self-dependency works fine.
Attachments
svg that triggers the bug. (398 bytes, image/svg+xml)
2014-01-17 07:26 PST, Tamas Gergely
no flags
Brent Fulgham
Comment 1 2022-07-15 16:48:13 PDT
This continues to be an issue in Safari 15.5+. Works properly in Chrome and Firefox.
Radar WebKit Bug Importer
Comment 2 2022-07-15 16:48:32 PDT
Ahmad Saleem
Comment 3 2023-05-11 10:41:22 PDT
I have patch for bug 256651 and it seems to make this pass on WebKit ToT (263973@main) on local build. It is still broken in Safari Technology Preview 169.
Ahmad Saleem
Comment 4 2023-05-11 12:33:01 PDT
Confirmed after backing out my patch for other bug and rerunning attached testcase, it fails while after patch, it matches Chrome. Marking this duplicate for other, since I already have PR for it. *** This bug has been marked as a duplicate of bug 256651 ***
Note You need to log in before you can comment on or make changes to this bug.