Closed Bug 1548091 Opened 6 years ago Closed 3 years ago

CSS mask only uses one gradient layer

Categories

(Core :: Web Painting, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox66 --- affected
firefox67 --- affected
firefox68 --- affected

People

(Reporter: ana.tudor.lhnh, Unassigned)

Details

Attachments

(2 files)

Attached image c3.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  1. Create element, give it dimensions and background.

  2. Set a mask using two CSS gradients.

Live test https://codepen.io/thebabydino/pen/rbgKYv?editors=0100

Actual results:

Only the bottom layer is used for the mask.

Expected results:

Both layers should have been used for the mask. This is what happens in Chrome

Hi Ana,

I was able to reproduce this issue on Firefox 66.0.5 (20190507012018) and Firefox Nightly 68.0a1 (20190507214514)
I'm assigning a component in order to involve the development team in reviewing this issue.

Thank you for reporting!

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Version: 68 Branch → Trunk
Component: CSS Parsing and Computation → Web Painting
Priority: -- → P3
Severity: normal → S3
Attached image fixed_buggy.png

I just came across this by accident and checked it out as I didn't remember anything about it. It seems fixed in Firefox Nightly (currently 111). And I'd guess it has been for a while because I don't remember hitting it recently. No reason for it to stay open.

Status: NEW → RESOLVED
Closed: 3 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: