Bug 127174 - setCurrentTime method breaks svg animation
Summary: setCurrentTime method breaks svg animation
Status: RESOLVED DUPLICATE of bug 256651
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-01-17 07:26 PST by Tamas Gergely
Modified: 2023-05-11 12:33 PDT (History)
8 users (show)

See Also:


Attachments
svg that triggers the bug. (398 bytes, image/svg+xml)
2014-01-17 07:26 PST, Tamas Gergely
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Gergely 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.
Comment 1 Brent Fulgham 2022-07-15 16:48:13 PDT
This continues to be an issue in Safari 15.5+. Works properly in Chrome and Firefox.
Comment 2 Radar WebKit Bug Importer 2022-07-15 16:48:32 PDT
<rdar://problem/97100972>
Comment 3 Ahmad Saleem 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.
Comment 4 Ahmad Saleem 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 ***