[Webkit-unassigned] [Bug 18821] New: Canvas putImageData incorrect when data has alpha

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 30 18:31:11 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18821

           Summary: Canvas putImageData incorrect when data has alpha
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
               URL: http://philip.html5.org/tests/canvas/misc/alpha-
                    putimagedata.html
        OS/Version: Windows Vista
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: excors at gmail.com


See test case in URL. It draws a very-transparent red column on the left, then
fills the rest of the canvas with slightly-transparent green, then calls
putImageData(getImageData(...), ...) which should have no effect.

Expected output: alert box saying "0,255,0,254" (or maybe 253), alert box
saying "0,255,0,254" (or maybe 253), green canvas.

Actual output: alert box saying "0,255,0,253", alert box saying "255,0,0,253",
red canvas.

Tested on Windows r32574.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list