[Webkit-unassigned] [Bug 160786] New: getClientRects() can return empty rects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 11 16:20:10 PDT 2016


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

            Bug ID: 160786
           Summary: getClientRects() can return empty rects
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com
                CC: simon.fraser at apple.com

InlineTextBox::isSelected:

// FIXME: We should only be checking if sPos >= ePos here, because those are the
// indices used to actually generate the selection rect. Allowing us past this guard
// on any other condition creates zero-width selection rects.

Same in InlineTextBox::localSelectionRect

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160811/95dc5ca0/attachment.html>


More information about the webkit-unassigned mailing list