RESOLVED FIXED 196380
getBoundingClientRect always returns empty rect on a collapsed range
https://bugs.webkit.org/show_bug.cgi?id=196380
Summary getBoundingClientRect always returns empty rect on a collapsed range
Ryosuke Niwa
Reported 2019-03-28 16:50:34 PDT
When Range is collapsed, we always return a rect at (0, 0) with zero width and height. <rdar://problem/42257134>
Attachments
Fixes the bug (4.13 KB, patch)
2019-03-28 16:56 PDT, Ryosuke Niwa
wenson_hsieh: review+
Ryosuke Niwa
Comment 1 2019-03-28 16:56:53 PDT
Created attachment 366225 [details] Fixes the bug
Ryosuke Niwa
Comment 2 2019-03-28 18:56:53 PDT
Alexey Proskuryakov
Comment 3 2022-09-18 17:04:42 PDT
*** Bug 138949 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.