[Webkit-unassigned] [Bug 97247] New: REGRESSION: Boundaries with alpha have wrong widths when div rotated and offset to non-integer coordinates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 20 12:07:02 PDT 2012


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

           Summary: REGRESSION: Boundaries with alpha have wrong widths
                    when div rotated and offset to non-integer coordinates
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eae at chromium.org


The following draws two divs. Both are rotated by 45°, are offset to non-integer pixel coordinates and have 1px wide borders. The first div's border color is black, the second has an alpha of 0.99 (almost black):

data:text/html,<div style="position:absolute; left: 30.5px; top:30.3px; width: 30px; height: 30px; border: 1px solid rgba(0, 0, 0, 1.00); -webkit-transform: rotate(45deg);"></div><div style="position:absolute; left: 30.5px; top:90.3px; width: 30px; height: 30px; border: 1px solid rgba(0, 0, 0, 0.99); -webkit-transform: rotate(45deg);"></div>

On Chrome 22, the two divs look identical.

On Chrome 23, the second div has incorrect boundary widths: The top left boundary is 2px wide, the bottom right boundary is completely invisible.

Downstream chromium bug: http://code.google.com/p/chromium/issues/detail?id=148734

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