[Webkit-unassigned] [Bug 103430] New: Range.getClientRects() and Range.getBoundingClientRect() incorrectly include hidden overflown content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 27 09:30:57 PST 2012


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

           Summary: Range.getClientRects() and
                    Range.getBoundingClientRect() incorrectly include
                    hidden overflown content
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dtrebbien at gmail.com
                CC: dtrebbien at gmail.com


Created an attachment (id=176287)
 --> (https://bugs.webkit.org/attachment.cgi?id=176287&action=review)
Test case

Range.getClientRects() and Range.getBoundingClientRect() consider overflow content of children that is hidden by overflow:hidden.  Horizontally and vertically overflown content is included.

Attached is a reduced test case.  The test case works as expected in Firefox 17.0 and Opera 12.11 (the alert message should be "bcr.width = 14, bcr.height = 54"), but it fails in Safari 6.0.2, Safari 5.0.5, Chrome 23.0.1271.91, and the latest WebKit nightly r135851 built on 27 November 2012.

Possibly related:  Bug 103150 - Range.getBoundingClientRect() does not handle max-height correctly

-- 
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