Bug 249741 - Restrict floats over svgElement.setCurrentTime to finite values
Summary: Restrict floats over svgElement.setCurrentTime to finite values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-12-21 13:37 PST by Ahmad Saleem
Modified: 2022-12-24 09:33 PST (History)
4 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-21 13:37:28 PST
Hi Team,

While going through Blink's commit, I came across another failing test in Safari 16.2:

Test Case - https://jsfiddle.net/skf7xa53/show

Only need to focus only on setCurrentTime because this is only failing in WebKit while both Chrome Canary 111 and Firefox Nightly 110 is passing it.

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

WebKit Source - https://github.com/WebKit/WebKit/blob/28c5d0e82b0f2b000aa18734a3f2345ed9cfd86e/Source/WebCore/svg/SVGSVGElement.cpp#L126

Just wanted to raise so we can fix it.

Thanks!
Comment 2 EWS 2022-12-24 09:32:31 PST
Committed 258322@main (e938348a700c): <https://commits.webkit.org/258322@main>

Reviewed commits have been landed. Closing PR #8054 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-24 09:33:15 PST
<rdar://problem/103686250>