Bug 51844

Summary: CSS3 gradients should interpolate premultiplied colors
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: argyle, gilmoreorless, igor.oliveira, webmaster
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Simon Fraser (smfr) 2011-01-03 12:03:35 PST
The spec <http://dev.w3.org/csswg/css3-images/#gradients> says that interpolation should be in premultiplied color space, which we don't implement (and is not possible to do in CG).
Comment 1 Adam Argyle 2020-07-07 16:23:18 PDT
I've noticed this greyish effect in Safari across a few project. It can be worked around if noticed and appropriately adjusted in the CSS, but until today had never understood why. Wanted to share the project I was using to test the effect (https://codepen.io/argyleink/pen/KKVoboe), and mention that example #23 in the spec talks about this effect as well.