W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [CSS4 color][CSS4 transition] color pre-multiplied vs non pre-multiplied was (Re: [CSSWG] Minutes TPAC Tue 2012-10-30 AM I: Abstract Directions, Transforms, Transitions)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 1 Mar 2013 11:15:59 -0800
Message-ID: <CAAWBYDCR8k0nSCGwdnrXBE_1Sr-VZRQTk7kG8BRkJ9dYLBXonw@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Nicolas Robidoux <nicolas.robidoux@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, Liam Quin <liam@w3.org>, "www-style@w3.org" <www-style@w3.org>
On Fri, Mar 1, 2013 at 9:38 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> On Fri, Mar 1, 2013 at 5:57 AM, Nicolas Robidoux
> <nicolas.robidoux@gmail.com> wrote:
>> 1) It would appear that regardless of whether the gradient is >>computed<<
>> in pre- or non-pre, the >>specification<< of the starting, ending and stop
>> colors should be in non-pre.
>
> yes, that is the case. Colors are always specified in non-premultiplied.

Yeah.  We could theoretically add more color functions that specify
premultiplied, but I doubt they'd be useful, and they'd be very likely
to confuse people. ^_^

>> 2) Maybe there should be some way to specify whether the gradient should
>> be computed in linear light, in perceptual light, or taking the current
>> color space as is.
>
> yes. It would be nice if we could specify that gradients are interpolated in
> an Lab (or other non-sRGB) colorspace.

Yeah, thinking about that for the future.

~TJ
Received on Friday, 1 March 2013 19:16:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT