[Webkit-unassigned] [Bug 77998] New: getBoundingClientRect() returns the incorrect value on elements with the CSS zoom property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 09:59:32 PST 2012


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

           Summary: getBoundingClientRect() returns the incorrect value on
                    elements with the CSS zoom property
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mvujovic at adobe.com
                CC: krit at webkit.org


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

In the attached reproduction, the upper red div is 200px by 200px with a CSS zoom property of 200%. getBoundingClientRect() should return 400 x 400, but it returns 200 x 200.

As a point of comparison, the lower green div is 200px by 200px with a CSS transform of scale(2). getBoundingClientRect() correctly returns 400 x 400.

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