Bug 249581 - [SVG] 'keyTimes' values should allow surrounding whitespace
Summary: [SVG] 'keyTimes' values should allow surrounding whitespace
Status: RESOLVED DUPLICATE of bug 212162
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-19 09:13 PST by Ahmad Saleem
Modified: 2022-12-19 09:36 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***