Open Bug 1425385 Opened 6 years ago Updated 2 years ago

SVG masks don't use transparency

Categories

(Core :: Graphics, defect, P3)

55 Branch
Unspecified
Windows
defect

Tracking

()

People

(Reporter: rory, Assigned: bas.schouten)

References

Details

(Keywords: regression, testcase, Whiteboard: [gfx-noted])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Steps to reproduce:

Created an SVG shape then masked it with a mask which uses a Gaussian blur filter. However, masks don't work with any form of mask transparency, including simple antialiasing. 

https://codepen.io/anon/pen/Qabrxr

Works in Firefox for Android, pre-Quantum versions of Firefox and Chrome.



Actual results:

All mask edges are aliased and there is no transparent gradient. 


Expected results:

Masked area should use the transparency of the mask for antialiasing and gradient.
Chrome and Firefox look exactly the same to me on a Mac. What difference am I supposed to see here.
Flags: needinfo?(rory)
Oops, it must be a Windows only bug. I've tested it on two Windows machines and got the same results. 

This is the difference I see between the current version of Chrome (63.0.3239.108) and Firefox on my Windows 10 machine: https://imgur.com/a/oBmCF
Flags: needinfo?(rory)
OS: Unspecified → Windows
Component: Untriaged → Graphics
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Graphics → SVG
Ever confirmed: true
Keywords: testcase
Regression range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=6b534147049e9a4afaa3320712d824dc9563ac67&tochange=7fb451a4d22c87e7de74be4c169c85601bdb938e


Dupe of Bug 1381911?
Blocks: 1359527
Has Regression Range: --- → yes
Component: SVG → Graphics
Keywords: regression
Version: 57 Branch → 55 Branch
Assignee: nobody → bas
Priority: -- → P1
Whiteboard: [gfx-noted]
On my Windows machine this bug only occurs with hardware acceleration enabled.
Moving to p3 because no activity for at least 24 weeks.
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.