New issue
Advanced search Search tips

Issue 754293 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression

Blocked on:
issue 756823



Sign in to add a comment

spurious gradient on self-intersecting SVG path

Reported by justin.f...@buzzfeed.com, Aug 10 2017

Issue description

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

Steps to reproduce the problem:
view the SVG.

What is the expected behavior?
shape should be solid

What went wrong?
gradient on right side of figure 

Did this work before? Yes Chrome 59, Chrome 60 on Linux

Does this work in other browsers? Yes

Chrome version: 60.0.3112.90  Channel: stable
OS Version: OS X 10.12.2
Flash Version:
 
bowtie.svg
228 bytes Download
Screen Shot 2017-08-10 at 11.03.57 AM.png
21.9 KB View Download
Components: -Blink>SVG Internals>GPU>Rasterization
Labels: -Type-Bug-Regression Type-Bug
Status: Untriaged (was: Unconfirmed)
Reproduces at least as far back as M-58 on linux with --force-gpu-rasterization.

The issue seems to be missing vertex color information.

Comment 2 by pdr@chromium.org, Aug 10 2017

 Issue 754348  has been merged into this issue.

Comment 3 by pdr@chromium.org, Aug 10 2017

Labels: -Type-Bug M-58 Type-Bug-Regression
Owner: senorblanco@chromium.org
Status: Assigned (was: Untriaged)
Regression range: https://chromium.googlesource.com/chromium/src/+log/c2b2fca2531d524ce5020683c81a7e9b57fbe52e..46844f6e8ad264cd4b20a3d75c0d3a8c303333bb


I think this is a regression from M58:
"Enable Skia's edge-antialiasing tessellating path renderer."
https://chromium.googlesource.com/chromium/src/+/4fa27c5c19dadb9b737cb004c8ad176e8cb45422
Labels: -M-58 RegressionFound-58
Also this case:

<svg id="container" style="width: 800px; height: 400px;">

<path id="container_svg" fill="#E94649" fill-opacity="1" stroke-width="1" stroke="transparent" stroke-dasharray="" stroke-linecap="butt" stroke-linejoin="round" d="M 0 198.33333333333334 L 0 198.33333333333334 C 33.14285714284961 198.09968472079086 66.28571428569921 197.8660361082484 99.42857142857142 198.33333333333334 C 132.57142857142102 198.80063055841828 165.71428571427063 199.9688736211306 198.85714285714283 198.33333333333334 C 231.99999999999244 196.6977930455361 265.14285714284205 192.25846940722928 298.2857142857143 198.33333333333334 C 331.4285714285639 204.4081972594374 364.57142857141355 220.99724874995226 397.71428571428567 198.33333333333334 C 430.8571428571353 175.66941791671437 463.9999999999849 113.75253559296158 497.14285714285717 90.83666666666667 C 530.2857142857067 67.92079774037181 563.4285714285563 84.00594221153479 596.5714285714286 83.3 C 629.7142857142782 82.59405778846521 662.8571428571278 65.09702889423264 696 47.600000000000016 L 696 198.33333333333334 ">
</path>

</svg>
Blockedon: 756823
Project Member

Comment 7 by bugdroid1@chromium.org, Jan 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1

commit e4d6d0b50ec2e40aabe6a8c9928f512101771bb1
Author: Stephen White <senorblanco@chromium.org>
Date: Tue Jan 02 17:16:48 2018

Enable new edge inversion handling in Skia.

Remove the GR_TESSELLATOR_LEGACY_INVERSION_HANDLING #ifdef.
This enables the partial straight skeleton (phase 2) in Skia.

BUG= 756823 , 754612 , 754293 , 723980 , 728070 

Change-Id: I70b4daef016dc950002cb0e98073bc90696b2ab9
Reviewed-on: https://chromium-review.googlesource.com/843082
Reviewed-by: Brian Salomon <bsalomon@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526496}
[modify] https://crrev.com/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1/skia/config/SkUserConfig.h
[add] https://crrev.com/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-arc-circumference-fill-expected.png
[add] https://crrev.com/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1/third_party/WebKit/LayoutTests/platform/mac/virtual/gpu/fast/canvas/canvas-ellipse-circumference-fill-expected.png
[modify] https://crrev.com/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-arc-circumference-fill-expected.png
[modify] https://crrev.com/e4d6d0b50ec2e40aabe6a8c9928f512101771bb1/third_party/WebKit/LayoutTests/platform/win/virtual/gpu/fast/canvas/canvas-ellipse-circumference-fill-expected.png
[delete] https://crrev.com/5b2de20541d2b08bf64e81804b538eb4d03a4e21/third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-arc-circumference-fill-expected.png
[delete] https://crrev.com/5b2de20541d2b08bf64e81804b538eb4d03a4e21/third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-ellipse-circumference-fill-expected.png

Status: Fixed (was: Assigned)
Fixed as of crrev.com/526496 above.

Sign in to add a comment