SVG with mask and clipPath for same image has render error
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: pd, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
19.97 KB,
image/svg+xml
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Steps to reproduce:
Open the attached SVG in Firefox 82 on a Windows 10 PC (64bit).
The SVG contains the image of a tool. The background is masked by a mask and a clipPath (which mask the same area in this example, but could be different in more complex real world applications).
I set the SVG background to grey to make it easier to see any black or white areas should they occure while testing.
Actual results:
The image that is included via image tag, which has a clipPath and mask applied to it, is invisible.
Expected results:
The image should be visible with the mask and clipPath correctly applied to it (hidden background).
This works in previous versions of Firefox, on Firefox for Mac, 32bit Firefox on Windows 10 (tested in Browserstack) as well as other browsers (like Chrome).
Comment 1•4 years ago
|
||
If it works with previous versions could you use mozregression to find a regression range please?
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Ok, after fiddeling around with the virus warnings I get for mozregression I was able to find the regression, here is the output:
Build Info:
app_name: firefox
build_date: 2020-05-15 21:23:59.719000
build_file: C:\Users\pd.mozilla\mozregression\persist\febf9ee6d477-shippable--autoland--target.zip
build_type: integration
build_url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R0ZcKDl7R0K8DFLakUYAGQ/runs/0/artifacts/public%2Fbuild%2Ftarget.zip
changeset: febf9ee6d477b5c892683cb9c0faae7970e9b883
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f340bbb582d16c083344b1370bd4e4d4caf5fb17&tochange=febf9ee6d477b5c892683cb9c0faae7970e9b883
repo_name: autoland
repo_url: https://hg.mozilla.org/integration/autoland
task_id: R0ZcKDl7R0K8DFLakUYAGQ
Log:
2020-10-29T18:27:35.580000: DEBUG : Found commit message:
Bug 1555356 - Make images inside of SVGs active. r=aosmond
(rebased Alexis' patch)
Differential Revision: https://phabricator.services.mozilla.com/D59925
2020-10-29T18:27:35.580000: DEBUG : Did not find a branch, checking all integration branches
2020-10-29T18:27:35.581000: INFO : The bisection is done.
2020-10-29T18:27:35.823000: INFO : Stopped
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
I think Jeff knows more about masks and clips with blobs.
Comment 5•4 years ago
|
||
bug 1684625 basically disables web-render for SVG images so this bug is sort of fixed but it will come back if the svg-images pref is turned on again. I have checked in a reftest for this bug so that should prevent it returning.
Description
•