Open Bug 842110 Opened 13 years ago Updated 3 years ago

HTML5 <canvas> drawImage fails to draw itself offset out of bounds

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jstpierre, Unassigned)

Details

Test case: http://goo.gl/VFSGn Simply using drawImage() with itself as the canvas, out of bounds, causes the dimensions to be stretched for some reason. The second cat should not be drawn stretched. I've reproduced the problem on Windows 7, everything works as expected under Firefox 18 for Linux. Not sure if this is an acceleration issue or not. Chrome also behaves badly for this testcase, but it just aborts the drawing call altogether, see: https://code.google.com/p/chromium/issues/detail?id=176714
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.