Open Bug 1616108 Opened 5 years ago Updated 29 days ago

SVG radialgradient not smooth

Categories

(Core :: Graphics: WebRender, defect, P3)

72 Branch
defect

Tracking

()

People

(Reporter: jbstrater, Unassigned)

References

()

Details

(Keywords: parity-chrome, testcase)

Attachments

(2 files, 1 obsolete file)

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

Steps to reproduce:

https://codepen.io/sidewayss/pen/NWqrKKp
I have viewed it in Firefox and Chrome (latest versions) on Windows 10 64bit.
In Firefox you can see rings as the gradient switches colors.
In Chrome, the gradient changes colors more smoothly, invisibly.
In the codepen page, it helps to size the code smaller to see the entire SVG image.

Has STR: --- → yes
Component: Untriaged → SVG
Product: Firefox → Core

Hi jbstrater, I open the URL in the description, but <svg> only renders as a black rectangle either in Firefox or Google Chrome. Did I miss anything?

Flags: needinfo?(jbstrater)

Maybe I should make it a linearGradient, as I see the same issue there. It's all very dark, but you should see a slight color change from the center out to the edges, and in Chrome it's smooth, in Firefox it's segmented. I can take a screenshot and upload it, in case our color configurations are causing a difference. I'm running my monitor in sRGB mode.

Flags: needinfo?(jbstrater)

I have modified the codepen so that the color changes are more drastic. I don't see a way to upload the pair of screenshot .png files I created.

Attached image CHgradient.png (obsolete) —
Attached image taken in Chrome
Attached image taken in Firefox
Attachment #9128261 - Attachment is obsolete: true

Thank you! Now I can see the issue as described in comment 2 (after adjusting my screen's brightness).

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

Great. Note that the same issue exists for linearGradient. Thanks.

Severity: normal → S3
Component: SVG → Graphics: WebRender
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: