[Webkit-unassigned] [Bug 38394] Range.getClientRects should work with a collapsed range in an empty text node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 27 04:00:07 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=38394

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #2 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am not sure on web-spec but in attached test case, I get following results across all browsers:

*** Safari 15.6 on macOS 12.5 & Chrome Canary 106 ***

No clientRects returned from range.getClientRects()

*** Firefox Nightly 105 ***

top: 21.600006103515625 bottom: 21.600006103515625 left: 8 right: 8 width: 0 height: 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220727/4dc7267c/attachment-0001.htm>


More information about the webkit-unassigned mailing list