New issue
Advanced search Search tips

Issue 710208 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

SVG rendering issues on MacOS

Project Member Reported by jainabhi...@chromium.org, Apr 10 2017

Issue description

Chrome Version: 57.0.2987.110
OS: MacOS 10_12_3

Some user comments
(1) Using the css property mix-blend-mode: multiply does not consistently work on Chrome on macOS. I've created an example on codepen. When viewing the pen on macOS, the SVG on the left (using mix-blend-mode) is not blending the colors, although the SVG on the right works (using a svg feBlend filter). [56685995326-mix-blend-mode.png - Codepen Example]

(2) If you dynamically load an inline SVG via ajax (in my case using Angular) it breaks any elements within using the fill: url(#) property if you also alter the opacity of the element. Works fine in Firefox. Doesn't work in Safari. Have not tested in IE/Opera. [Stackoverflow]

(3) SVG doesn't render properly, when masking applied to path to mask the background of the text in the path, the path is not visible. This renders properly on Safari with 3 proper lines. The lines on the top and last are missing when mask is applied. [Attachment - test.svg.zip]

(4) SVG paths are rendered incorrectly.  It looks correct in other browsers such as Edge, Safari and Firefox. I have attached the html file. The screenshot is the one on the right. The green area of the wheel has ring that is rendered incorrectly. (fourth one from the outer ring) [Attachment - test.html.zip]

What happens instead?
Users notice that SVG does not render properly, such as:
1. SVG paths are rendered incorrectly
2. SVG formats are not displayed correctly

Test Cases - Attached
Some other reports : go/keeqy

External Links
http://stackoverflow.com/questions/43140737/svg-fill-urlfoo-disappears-when-svgs-are-loaded-dynamically
http://codepen.io/allenziegenfus/pen/RpOZPw - Works on Windows but not on MacOS
 
55677036497-test.html.zip
3.6 KB Download
56256620816-test.svg.zip
1.2 KB Download
56685995326-mix-blend-mode.png.zip
101 KB Download

Comment 1 by f...@opera.com, Apr 11 2017

Components: Internals>Skia Internals>GPU>Rasterization
These all sound like rendering (rasterization) issues. If macOS 10.12 is a common factor, I wonder if that version has (more) busted GPU drivers (these are not the only weird reports.)
Cc: senorblanco@chromium.org
Labels: BugSource-Chromium PaintTeamTriaged-20170411
Components: -Blink>SVG
Reapply SVG label if it seems raster is not to blame.

Comment 4 by ericrk@chromium.org, Apr 11 2017

I haven't looked at issues (2-4), but issue 1 is tracked here:  bug 658277  - we have a fix in M59.

Comment 5 by ericrk@chromium.org, Apr 17 2017

Status: WontFix (was: Untriaged)
This seems to be a bunch of unrelated bugs - going to split this issue into multiple discrete bugs.

(1) Tracked by  issue 658277 
(2) Tracked by  issue 712328 
(3) Tracked by  issue 712325 
(4) Tracked by issue 712329

Sign in to add a comment