Summary: | setCurrentTime method breaks svg animation | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tamas Gergely <tgergely.u-szeged> | ||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | ahmad.saleem792, bfulgham, dino, krit, pdr, sabouhallawa, webkit-bug-importer, zimmermann | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=249741 | ||||||
Attachments: |
|
This continues to be an issue in Safari 15.5+. Works properly in Chrome and Firefox. 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. 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 *** |
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.