globalCompositeOperation = "source-in" does not handle drawImage correctly

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
9 years ago
7 years ago

People

(Reporter: philip, Unassigned)

Tracking

({regression, testcase})

1.9.1 Branch
regression, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

The test case sets the canvas to 50% transparent black, and then tries to drawImage on top of the canvas with globalCOmpositeOperation = "source-in". However, nothing is displayed. Chrome gets it right (i.e. you get a 50% transparent image).

Reproducible: Always

Steps to Reproduce:
1. GO to the url http://pskreporter.info/grid/testcanvas.html
2. Observe that left hand area on the screen is blank. 
3. It should contain a 50% transparent version of the image.
Actual Results:  
Observe that left hand area on the screen is blank. 


Expected Results:  
It should contain a 50% transparent version of the image.

Updated

9 years ago
Component: General → Canvas: 2D
Product: Firefox → Core
QA Contact: general → canvas.2d
this is a regression of 1.9.1 against 1.9.0, i.e.

works:
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ID:2010031422

fails:
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ID:20100315083431
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression, testcase
OS: Windows 7 → All
Hardware: x86 → All
Version: unspecified → 1.9.1 Branch
Works in 4.0.1 for me
This works now.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.