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

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
6 years ago
4 years ago

People

(Reporter: christoph.burgmer, Unassigned)

Tracking

26 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 660253 [details]
firefoxTransparencyBug.html

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.
(Reporter)

Updated

6 years ago
Attachment #660253 - Attachment mime type: text/plain → text/html
(Reporter)

Updated

5 years ago
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Version: 14 Branch → 26 Branch
You need to log in before you can comment on or make changes to this bug.