Bug 249581

Summary: [SVG] 'keyTimes' values should allow surrounding whitespace
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: sabouhallawa, zimmermann
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-19 09:13:52 PST
Hi Team,

While going through Blink's commit, I came across another, which we can potentially merge:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/d744561bab9c8dda3017b0e80030e8673b85b850

WebKit Source - https://github.com/WebKit/WebKit/blob/6b1eb391bf3d0bf4fa2b3834e61df0a4dfa95c11/Source/WebCore/svg/SVGAnimationElement.cpp#L64

Might be changing with -> auto timeString : parse.split(';') && parse.stringWhiteSpace()

Safari issue listed on MDN:https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/keyTimes

If the duration of the animation is indefinite, any keyTimes specification will be ignored.

Safari issue: keyTimes values should be separated with semicolon without space before, f.e: keyTimes="0; 0.25; 0.5; 0.75; 1"

Just wanted to raise this bug so we can fix this.

Thanks!
Comment 1 Said Abou-Hallawa 2022-12-19 09:36:08 PST

*** This bug has been marked as a duplicate of bug 212162 ***