Bug 98718

Summary: SVG animation of CSS value does not always reset
Product: WebKit Reporter: Philip Rogers <pdr>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, bfulgham, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: 420+   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Description Philip Rogers 2012-10-08 22:00:06 PDT
Created attachment 167688 [details]
Testcase

If we animate a CSS value using SVG and change the animation, the animated CSS value does not reset. In the attached testcase, opacity is animated to 0.5 and then the animation is changed so that 'x' is being animated, but the opacity remains at 0.5.
Comment 1 Brent Fulgham 2022-07-15 15:36:08 PDT
I don't see X animating at all.

Still, Chrome and Firefox return opacity to 1.0, which Safari does not. There appears to be a bug of some kind here
Comment 2 Radar WebKit Bug Importer 2022-07-15 15:36:19 PDT
<rdar://problem/97097883>
Comment 3 Ahmad Saleem 2023-09-21 09:31:44 PDT
Still reproducible