Closed Bug 673071 Opened 14 years ago Closed 14 years ago

Canvas drawImage is broken when applying shadows in Firefox5

Categories

(Firefox :: General, defect)

5 Branch
All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jens, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:5.0) Gecko/20100101 Firefox/5.0 Build ID: 20110615151330 Steps to reproduce: draw a shape onto an offscreen canvas, then draw the offscreen canvas to an on-screen one using drawImage *and* shadowing. Actual results: Up until v.4 this used to work, now in v.5 instead of applying the shadow Firefox also /fills/ the blitted area. Expected results: I'm attaching two screenshots of the expected outcome and how it appears in Firefox5, and a commented html file which reproduces the bug
OS: Other → Windows 7
this is a blocker for the http://byob.berkeley.edu visual programming language project
(In reply to comment #1) > Created attachment 547351 [details] > screenshot of what I'm seeing in Firefox5 I get the same result as the one in the attachment on the latest Firefox Nightly (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110720 Firefox/8.0a1) Thus, the same image is displayed on IE9. When I load the canvas example in Chrome I get a different result from all the others. So it's unclear which is the expected result.
I also filed a bug report for Chrome: http://code.google.com/p/chromium/issues/detail?id=90001
Did you say IE9 displays the same result as Firefox5? IE9, Safari and Opera all render the example the same for me according to my expectations.
(In reply to comment #6) > Did you say IE9 displays the same result as Firefox5? I am using a Firefox 6 Beta build; the result displayed on this build is correct. Please check to see if you can reproduce the issue on Fx Beta: http://www.mozilla.com/en-US/firefox/channel/ If the issue is not reproducible on Beta it means it will be fixed in FX6 (launch is on the 16 August, I believe).
You're right, on Beta6 the issue appears to be resolved nicely. Awesome, thanks a lot for you help!
(In reply to comment #8) > You're right, on Beta6 the issue appears to be resolved nicely. Awesome, > thanks a lot for you help! You're welcome. So, looking forward for the FX6 launch. Setting this as resolved.
Status: UNCONFIRMED → RESOLVED
Closed: 14 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: