Open
Bug 1265261
Opened 8 years ago
Updated 2 years ago
problem with canvas and javascript
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Tracking
()
NEW
People
(Reporter: jeanpierreforum, Unassigned)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
22.34 KB,
application/x-zip-compressed
|
Details |
What did you do? ================ 1. i use canvas and javascript 2. 3. What happened? ============== look with firefox ( bug appears on firefox38.0.1 it work before)and look in chrome and edge http://websitecreation.canalblog.com/pages/joyeuxnoelrougesilhouettestournantes/28977767.html the text inside is not visible in firefox What should have happened? ========================== look the same in edge and chrome http://websitecreation.canalblog.com/pages/joyeuxnoelrougesilhouettestournantes/28977767.html Is there anything else we should know? ====================================== no its just for information
Updated•8 years ago
|
Component: BrowserCompat → Untriaged
Product: Mozilla Developer Network → Firefox
Updated•8 years ago
|
Component: Untriaged → Canvas: 2D
Keywords: regression,
regressionwindow-wanted
Product: Firefox → Core
Whiteboard: [specification][type:bug]
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20160407164938 I have tested your issue on latest FF release (45.0.2), latest Nightly build (20160424030601) and managed to reproduce it. I have opened the provided link and the text inside the animation is not visible. Chrome and IE displays the text as expected. I went back as far as Firefox 4 and the bug is still reproducible. On some Firefox versions, the animation doesn't even start.
Comment 2•8 years ago
|
||
A simplified testcase would probably help here.
Updated•8 years ago
|
Flags: needinfo?(jeanpierreforum)
Reporter | ||
Comment 3•8 years ago
|
||
the problem comes from: the bugs appears with firefox 38.0.1 affichertexte=function(){console.log("affichertexte"); contextet.save(); contextet.beginPath(); contextet.arc(noelclientwidth*0.5,noelclientheight*0.5,noelclientwidth*0.18, 0, Math.PI * 2, false);//le masque contextet.clip(); contextet.globalCompositeOperation = 'xor'; contextet.drawImage(this.textenoel,0,0,noelclientwidth,noelclientheight); contextet.arc(noelclientwidth*0.5,noelclientheight*0.5,noelclientwidth*0.18, 0, Math.PI * 2, false); contextet.fillStyle = "blue";//mongrad; contextet.fill(); contextet.closePath(); contextet.restore(); };
Flags: needinfo?(jeanpierreforum)
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Summary: probleme with canvas and javascript → problem with canvas and javascript
Comment 5•8 years ago
|
||
The problem with the original site (and reduced testcase) regressed between 28 and 29 for me. Specifically: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=12d3ba62a599&tochange=34dddf6f7ec1 I suspect bug 603488 is what caused this since it changed how svg images are drawn to canvas. But I'm not sure if there is anything wrong with the code from that bug, it might be exposing another problem somewhere else.
Blocks: 603488
Comment 7•8 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #6) > Bas, do you have any insight here? Nothing obvious but I suspect I could debug this pretty easily, can you give me an idea of how important this is to fix? I can confirm I can reproduce it.
Flags: needinfo?(bas)
Comment 8•8 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #7) > can you give > me an idea of how important this is to fix? I was hoping you'd have a better idea about that.
Updated•8 years ago
|
Whiteboard: [gfx-noted]
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•