Open Bug 790468 Opened 13 years ago Updated 3 years ago

context.drawImage() on canvas.toDataURL("image/png") should be idempotent

Categories

(Core :: Graphics: Canvas2D, defect)

26 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: christoph.burgmer, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 Steps to reproduce: I loaded a transparent image into a canvas. I then got the content as an "image/png" dataURL and rendered that to another canvas. See attached test case (alternatively https://gist.github.com/3703025). Actual results: The canvasses do not have the same content. Expected results: The canvasses should both be equal in terms of ImageData and resulting dataURL.
Attachment #660253 - Attachment mime type: text/plain → text/html
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Version: 14 Branch → 26 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: