New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 663246 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug

Blocked on:
issue skia:5949



Sign in to add a comment

Wide curved SVG paths with high curvature have rendering artifacts

Reported by drarm...@gmail.com, Nov 8 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Steps to reproduce the problem:
https://jsfiddle.net/7k3ck9ck/1/

What is the expected behavior?
Both SVG path curves should have a vertical left and right side with a curve path connecting them.

What went wrong?
The green path renders correctly.  But, if the path has a wide enough stroke-width and is narrow enough, like the red path, then extra rendering artifacts will be drawn beyond the minimum x and maximum x values of the path.

Did this work before? N/A 

Does this work in other browsers? No

Chrome version: 54.0.2840.71  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0
 
svgpathbug.html
429 bytes View Download
Screenshot 2016-11-07 19.53.19.png
50.9 KB View Download

Comment 1 by pdr@chromium.org, Nov 8 2016

This renders the same in Firefox/Gecko, Safari/WebKit, and Chromium/Blink. Are you sure it's a browser bug?

Comment 2 by f...@opera.com, Nov 8 2016

Cc: caryclark@chromium.org
Components: Internals>Skia
I tested this is Edge, and it renders it differently (both the green and the red.) This looks very much like artifacts from how stroking is implemented. In this case (i.e a stroke wider than the curvature or how you'd describe it) the stroke path ends up folding onto itself, "canceling" itself out. At least that's my take on it. I'd be interested to see rendering from an old Cairo-based Gecko.
Cc: kkaluri@chromium.org
Labels: OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on windows 10,Ubuntu 14.04 and Mac 10.11.6 using chrome stable M54-54.0.2840.71 
and earlier version of chrome M30-30.0.1549.0. This is a non-regression issue and marking it as untriaged.

Please look into the attached screencast and screenshot.

Thank You...

Capture-FF.PNG
28.8 KB View Download
Capture-IE.PNG
16.6 KB View Download
Issue-663246.mp4
585 KB View Download
Blockedon: skia:5949
Cc: -caryclark@chromium.org caryclark@google.com
Owner: caryclark@chromium.org
Status: Assigned (was: Untriaged)
Owner: ----
Status: Available (was: Assigned)
Unmarking myself as owner; I do not anticipate finding a solution for this soon.

If I ever find a solution for its spiritual sibling crbug.com/589769, I will be happy to see if that has applicability here.
Project Member

Comment 8 by sheriffbot@chromium.org, Nov 20 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by f...@opera.com, Nov 20 2017

Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Project Member

Comment 10 by sheriffbot@chromium.org, Nov 20

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Sign in to add a comment