[Webkit-unassigned] [Bug 76839] New: Range.getclientrects returns too much rects, some incorrect, for ranges including partial content of elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 23 10:29:43 PST 2012


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

           Summary: Range.getclientrects returns too much rects, some
                    incorrect, for ranges including partial content of
                    elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jcgallego74 at gmail.com


Range.getclientrects returns too much rects, some of them incorrect (out of the range), at least when:
 - the end point of the range (endOffset) doesn't match the last position of the endContainer element
 - AND the beguinning of the endContainer is included in the range, but it's not the startOffset
In addition of the range rects, it's returning the rects of the whole endContainer element.

Tested in Chrome and Safari, working right in FireFox.

Described with an example here:
http://stackoverflow.com/questions/7232723/semantics-of-clientrect-from-getclientrects-in-webkit-browsers

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list