Closed Bug 320634 Opened 19 years ago Closed 17 years ago

canvas draw images with alpha channels areas as black

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: aaiyer, Unassigned)

Details

Attachments

(1 file)

14.83 KB, application/zip
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 The canvas tag draws images with alpha channels, the are which contains alpha information is always considered black. Reproducible: Always Steps to Reproduce:
Reporter, can you attach a testcase or provide an URL that shows this? thanks.
Attached file testcase
It occurs only in an isolated case, looked at it numerous times and I can't seem to find out why it is causing a problem here and not any other time.
Attachment #206194 - Attachment mime type: text/html → application/zip
The only happens if the canvas tag is in a XBL element and is updated AFTER the XBL element has been rendered onto the screen. Something to do with the ImageFrame?
What is the expected behavior with the testcase? When loading it (as content) on Fx 1.5.0.7 as well as on Fx2, the first row has dark borders, whereas current Minefield build draws two rows looking the same, the second one is shifted right a little.
Yeah - I'm gonna call this WFM on current trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: