[Webkit-unassigned] [Bug 182181] Range getBoundingClientRect returning zero rect on simple text node with <br> before it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 6 20:30:27 PST 2019


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

Gabe Giosia <giosia at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #363836|                            |commit-queue?
              Flags|                            |

--- Comment #4 from Gabe Giosia <giosia at google.com> ---
Created attachment 363836

  --> https://bugs.webkit.org/attachment.cgi?id=363836&action=review

Fix Range end offsets

This patch changes the way the end offsets are calculated. It (correctly) uses the local-end offsets rather than using the end-offset from within the node. The existing code was mostly working before because contained nodes use maxInt to signify fully contained so this could only effect the last node.

-- 
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/20190307/d303350a/attachment.html>


More information about the webkit-unassigned mailing list