W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-color] "transparent" keyword being a special color value, which resolves to rgba(0, 0, 0, 0) by default?

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Jun 2018 20:31:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-397428796-1529008312-sysbot+gh@w3.org>
> @fantasai suggested that maybe we could still fix this, and just special-case transparent to normally resolve directly to #0000, but let gradients key off of it specially and do the no-color-change behavior. 

That sounds tricky to explain in a spec, but would map better to underlying libraries. Premultiplication suffers from erosion of resolution (effective number of bits) unless calculations are done in an elevated bit depth, which most graphics libraries don't.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2722#issuecomment-397428796 using your GitHub account
Received on Thursday, 14 June 2018 20:32:01 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 28 May 2020 09:06:22 UTC