Issue metadata
Sign in to add a comment
|
Sharp transitions between colors in SVG linearGravient are blurry in Chrome
Reported by
lambertj...@gmail.com,
Jul 21 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. Go to https://codepen.io/julamb/details/yoBLwQ/ 2. Note that the transitions between colors are blury. 3. Click the "change view" button in the top right corner, transitions become sharp! What is the expected behavior? What went wrong? The transition should be sharp from the beginning (as they are in Firefox or Safari). Also, I can't understand why interacting with the main page would modify the rendering of the SVG that is in a iFrame. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 59.0.3071.115 Channel: stable OS Version: OS X 10.12.5 Flash Version: Let me know if additional information is needed.
,
Jul 21 2017
Yup, the blurriness is related to Ganesh gradient limitations. As a test, if you disable GPU rasterization, the hard stops should become sharp. "Change view" must be causing a software fallback somehow (possibly Mac-specific? I can't repro on Linux).
,
Jul 21 2017
Disabling GPU rasterization makes the hard stops sharp indeed. Thanks! As a developer, is there a hack to force Chromium not to use GPU rasterization for a given svg/page? |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by f...@opera.com
, Jul 21 2017Components: Internals>Skia