Closed Bug 1305710 Opened 9 years ago Closed 9 years ago

canvas fillText with destination-out in [FF 49.0.1] not working anymore

Categories

(Core :: Graphics: Canvas2D, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1304353

People

(Reporter: mincho.milev, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

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
Attached file 1305710.html
Already fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Keywords: regression
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: