Open Bug 1422642 Opened 8 years ago Updated 3 years ago

Clip does not work with blend modes in canvas

Categories

(Core :: Layout, defect, P3)

57 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mnmaxim, Unassigned)

Details

Attachments

(1 file)

Attached image firefoxbug.png
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: ctx.fillStyle="#880088"; ctx.fillRect(0,0,75,75); ctx.fillStyle="#888800"; ctx.arc(100, 100, 75, 0, Math.PI*2, false); ctx.clip(); ctx.globalCompositeOperation = "multiply" ctx.fillRect(0, 0, 100,100); Actual results: The blending occured taking into account the clipping Expected results: The clipping path was completely ignored (Or, the blend mode, when used with the "lighter" blend mode).
Component: Untriaged → Layout
Product: Firefox → Core
Priority: -- → P1
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: