[Webkit-unassigned] [Bug 79566] Fixed a type of Canvas drawImage(canvas).

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 26 16:36:18 PST 2012


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





--- Comment #6 from Ben Wells <benwells at chromium.org>  2012-02-26 16:36:18 PST ---
(In reply to comment #5)
> The source-is-image and source-is-canvas cases of source-in, source-out, destination-in and destination-atop in the test case referenced are different.
> The source-is-canvas does not have offset, so is rendered on left-top without padding.

Yes, agreed. And as mentioned your code looks like the correct fix.

> 
> I think the layout tests, LayoutTests/fast/canvas/canvas-composite-image.html and canvas-composite-canvas.html, do not reproduce this bug because those may not have offset for image that is rendered into canvas.

It would be good to update these tests to cover this case.

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