WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
255500
getStartPositionOfChar(n) on an element with 'n' characters of text doesn't throw IndexSizeError
https://bugs.webkit.org/show_bug.cgi?id=255500
Summary
getStartPositionOfChar(n) on an element with 'n' characters of text doesn't t...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-16 17:58:00 PDT
<
rdar://problem/108115821
>
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.
Top of Page
Format For Printing
XML
Clone This Bug