[Webkit-unassigned] [Bug 88571] New: REGRESSION (r115573): Incorrect rounding in layout of transformed elements (probably -webkit-transform-origin)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 7 13:24:30 PDT 2012


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

           Summary: REGRESSION (r115573): Incorrect rounding in layout of
                    transformed elements (probably
                    -webkit-transform-origin)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Regression
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy_horton at apple.com
                CC: adele at apple.com, mitz at webkit.org,
                    simon.fraser at apple.com, enne at google.com,
                    leviw at chromium.org


See attached reduction and good/bad screenshots. There are two divs, one without any transformation, and one with itself and its parent transformed a total of 360 degrees, theoretically around the center of a circle that should cause it to overlap the non-transformed one.

I've colored the rects; before 115573, they overlapped completely, and all you can see is green. After 115573, they do not overlap, and there is red visible.

The problem is amplified significantly if subpixel layout is disabled, but it occurs in both states.

I have also amplified the issue by adding a scale to the <body>, however, one should note that this is not actually necessary -- ~1px rounding issues occur with -webkit-transform-origin without that scale.

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