Bug 245130
Summary: | Range.getClientRects() returns empty rectangle list for valid text node offset | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | ap, bfulgham, rniwa, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Mac (Apple Silicon) | ||
OS: | macOS 12 |
Ahmad Saleem
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
<rdar://problem/100166822>
Ahmad Saleem
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!