WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
245130
Range.getClientRects() returns empty rectangle list for valid text node offset
https://bugs.webkit.org/show_bug.cgi?id=245130
Summary
Range.getClientRects() returns empty rectangle list for valid text node offset
Ahmad Saleem
Reported
2022-09-13 04:29:44 PDT
Hi Team, Another Chrome Monorail expedition and came across another broken test case compared to other browsers in Safari 16 and Safari Technology Preview 153. Link -
https://jsfiddle.net/wkv947qg/
Chrome Bug -
https://bugs.chromium.org/p/chromium/issues/detail?id=389054
_____ *** STEPS TO REPRODUCE *** 1) Open Link and notice the value within textarea << ACTUAL RESULT >> '0' (without quotes) << EXPECTED RESULTS & OTHER BROWSERS [Chrome Canary 107 and Firefox Nightly 106] >> '1' (without quotes) ___ Appreciate if this can be fixed and aligned with other browsers. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-20 04:30:21 PDT
<
rdar://problem/100166822
>
Ahmad Saleem
Comment 2
2023-01-22 01:54:29 PST
I tested with Selection API enabled on WebKit Trunk (which is turned off by default and waiting on PR (
https://github.com/WebKit/WebKit/pull/8267
)) and it is fixed and shows '1'. I am closing it. Thanks!
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