[Webkit-unassigned] [Bug 18779] REGRESSION(31916-31981): CanvasRenderingContext2D::drawImage no longer respects the srcRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 28 02:50:50 PDT 2008


------- Comment #1 from oliver at apple.com  2008-04-28 02:50 PDT -------
Created an attachment (id=20863)
 --> (http://bugs.webkit.org/attachment.cgi?id=20863&action=view)
Test case

This test case uses two canvases, in the invisible rect it draws a green square
on a red background.  It then draws the portion of that canvas into the other
canvas, scaled to fill the entire canvas.  In r31916 and before this works
correctly, now the resultant image is a scaled down copy almost as though dst
and src rects were reversed, although a quick tour down debugging lane would
seem to imply that that is not the case.  In fact it would appear that it may
be Image::draw that is not handling the scaling correctly.

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