Issue metadata
Sign in to add a comment
|
linear-gradient produces inaccurate color transition position
Reported by
dntm...@gmail.com,
Oct 25 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36 Steps to reproduce the problem: 1. Use CSS linear-gradient to define background with solid color stripes at specific positions 2. Use CSS repeating-linear-gradient with exactly the same background parameters What is the expected behavior? linear-gradient and repeating-linear-gradient should render the color transition at the exact specified color stop positions What went wrong? linear-gradient and (sometimes) repeating-linear-gradient render color transition not at the specified color stop positions. Instead they try to render some small gradient area *around* the color stop positions even though specific positions are provided. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 62.0.3202.62 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Oct 25 2017
,
Oct 25 2017
bsalomon@, seems like a gradient rendering issue in Ganesh (SW seems fine). I've confirmed this in the latest Canary, so I think the report of no-repro in 64 was due to susanjuniab@'s canary being assigned to the SW raster hold-back group. Can you pass this along to the right person?
,
Oct 25 2017
actually assign to bsalomon@ - see comment #3
,
Jan 12 2018
I made a simple JSFiddle to demo the problem of gradient steps not being exactly correct, with more than a pixel of fuzziness and the gradient stop being inaccurate. Please make your browser as wide as possible for maximum effect. https://jsfiddle.net/mrmills/ng2m1d14/1/
,
Oct 5
Both the original html file and jsfiddle exhibit correct behavior with the fix from: https://skia.googlesource.com/skia/+/72535fb55a3c7b439530efb48a2b1f55d671530e commit 72535fb55a3c7b439530efb48a2b1f55d671530e Author: Michael Ludwig <michaelludwig@google.com> Date: Thu Oct 04 13:10:29 2018 Reland "Reland "Implement an explicit binary search-based analytic gradient colorizer"" |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by susanjuniab@chromium.org
, Oct 25 2017Labels: -Type-Bug -Pri-2 hasbisect-per-revision Needs-Triage-M62 OS-Windows Pri-1 Type-Bug-Regression
Owner: ericrk@chromium.org
Status: Assigned (was: Unconfirmed)