WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
51844
CSS3 gradients should interpolate premultiplied colors
https://bugs.webkit.org/show_bug.cgi?id=51844
Summary
CSS3 gradients should interpolate premultiplied colors
Simon Fraser (smfr)
Reported
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).
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Argyle
Comment 1
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug