New issue
Advanced search Search tips

Issue 795686 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Compat



Sign in to add a comment

Ragged edge in stepped linear SVG gradient

Reported by jan.boes...@incors.com, Dec 18 2017

Issue description

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

Example URL:
Attached File

Steps to reproduce the problem:
Open the attached SVG in Chrome. The fill of the circle is a stepped gradient, with two colors at the same offset. 

What is the expected behavior?
There should be a smooth edge between the two colors.

What went wrong?
The gradient looks ragged. If you cannot see the artefacts, take a screenshot and zoom in using a bitmap editor. Due to the nature of SVG zooming directly in Chrome will not work here.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

The raggedness depends on the page's zoom level. At some zoom levels (for example 150%) I do not see any artefacts.
 
ragged_gradient.svg
1.0 KB Download
zoom_chrome.png
1.8 KB View Download
zoom_firefox.png
1.7 KB View Download

Comment 1 by woxxom@gmail.com, Dec 18 2017

I don't see such a badly ragged edge here, only a couple of lone dots and short etchings.
Apparently it depends on OS zoom too. Mine is standard 96dpi.

I did 3 bisects, two of them have definitive CL:
* r310997 - bad -   the edge was much worse than even on your screenshot
* r361476 - ideal - the edge doesn't have any raggedness

and the third is very likely r449081:

Bisect info: 449070 (good) - 449084 (bad)
https://chromium.googlesource.com/chromium/src/+log/a97e1315..ef3aedc7?pretty=fuller
Suspecting r449081 = 4fa27c5c19dadb9b737cb004c8ad176e8cb45422 = https://crrev.com/2680003002 by senorblanco@chromium.org
"Enable Skia's edge-antialiasing tessellating path renderer."
Landed in 58.0.3007.0

Components: Blink>SVG

Comment 3 by f...@opera.com, Dec 18 2017

Components: -Blink>SVG Internals>Skia
Labels: OS-Linux
Status: Untriaged (was: Unconfirmed)

Sign in to add a comment