Bug 255500

Summary: getStartPositionOfChar(n) on an element with 'n' characters of text doesn't throw IndexSizeError
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2023-04-16 17:17:17 PDT
Hi Team, This is something needed to align with other browsers and spec: Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=391345 Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=201411 Test Case - http://jsfiddle.net/boggydigital/V5Tf8/ When clicking 'getStartPositionOfChar', it shows [object SVGPoint] in Safari 16.4 while gives error in Chrome Canary 114 and Firefox Nightly 114. Local build by merging commit fixes this. Raising so can do PR later. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-16 17:58:00 PDT
EWS
Comment 2 2023-04-17 18:18:15 PDT
Committed 263049@main (25e8d8240b8f): <https://commits.webkit.org/263049@main> Reviewed commits have been landed. Closing PR #12802 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.