[Webkit-unassigned] [Bug 102714] New: Range.getBoundingClientRect() does not include the height of leading or trailing BR elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 19 14:20:00 PST 2012


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

           Summary: Range.getBoundingClientRect() does not include the
                    height of leading or trailing BR elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dtrebbien at gmail.com
                CC: dtrebbien at gmail.com


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

When a Range is created starting before a BR element or ending after a BR element, the height of the bounding client rectangle obtained by calling the Range.getBoundingClientRect() CSSOM View method does not include the height of the leading and/or trailing BR elements.

Attached is a reduced test case.  The test case (also available at http://jsfiddle.net/TxAKf/ ) works as expected in Firefox since version 4, including the latest version, 16.0.2, but does not work in Safari 6.0.2, Chrome 23.0.1271.64, Chrome 25.0.1329.0 canary, or the latest WebKit nightly r134433 built on 13 November 2012.

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