W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

Re: [csswg-drafts] [css-transitions] Define interpolation of the currentcolor keyword

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Jan 2017 00:55:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-271455423-1484009750-sysbot+gh@w3.org>
FWIW, Gecko has implemented interpolation between "currentcolor" and 
numeric color for majority of CSS color properties (if not all). It 
does so via interpolating colors linearly in a way like "x% of rgba + 
(1-x%) of currentcolor". As far as I can see, this also matches how 
Blink interpolates them.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/445#issuecomment-271455423 
using your GitHub account
Received on Tuesday, 10 January 2017 00:55:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC