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

> @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