[Webkit-unassigned] [Bug 197042] Range.getBoundingClientRect returns invalid bounds when between two non-editable nodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 13:58:13 PDT 2022


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

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 able to reproduce this bug in Safari 15.6 on macOS 12.5 and get following using attached test case and looking into Console:

>>> DOMRect
bottom: 0
height: 0
left: 0
right: 0
top: 0
width: 0
x: 0
y: 0

In other browsers, I get following:

*** Chrome Canary 106 ***

Same as Safari 15.6

*** Firefox Nightly 105 ***

bottom: 8
height: 0
left: 8
right: 8
top: 8
width: 0
x: 8
y: 8

_______

I am not sure on web-spec but just wanted to update latest test results. Thanks!

-- 
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/20220809/dee868ae/attachment.htm>


More information about the webkit-unassigned mailing list