[Webkit-unassigned] [Bug 94211] New: getComputedStyle returns wrong value for CSS3 2D transformations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 16 03:18:39 PDT 2012


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

           Summary: getComputedStyle returns wrong value for CSS3 2D
                    transformations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alexander.shalamov at gmail.com


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

When 2D transformation is applied, "borderBoxRect" is used to calculate transformation values.
However, when style values are computed using getComputedStyle, content box size is used to calculate transformation value.

In attached test, div element is moved down (y) by 60 pixels, while getComputedStyle reports that it was moved by 50px.

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