Closed
Bug 1305710
Opened 8 years ago
Closed 8 years ago
canvas fillText with destination-out in [FF 49.0.1] not working anymore
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1304353
People
(Reporter: mincho.milev, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
522 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160922113459 Steps to reproduce: <!DOCTYPE html> <html> <body> <canvas id="myCanvas" width="300" height="150" style="border:1px solid #d3d3d3;"> Your browser does not support the HTML5 canvas tag.</canvas> <script> var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d",{ antialias: true}); ctx.fillStyle = "red"; ctx.fillRect(150, 20, 75, 50); ctx.fillStyle = "blue"; ctx.globalCompositeOperation = "destination-out"; ctx.fillRect(180, 50, 75, 50); ctx.fillText('not working in FF 49',150,60) </script> </body> </html> Actual results: the text is not affected by globalCompositeOperation = "destination-out"; Expected results: It should erase the red rectangular with the text
Already fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•