W3C home > Mailing lists > Public > www-style@w3.org > January 2016

Re: [css-images] Negative implications of linear gradient color space choice in CSS

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 25 Jan 2016 11:22:19 -0800
Message-ID: <CAAWBYDDxfA6qpVH0uKakUMtu3a_F3R90LZ9_vyqTtqrSHUcjvg@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Simon Fraser <smfr@me.com>, Mark Straver <mark@wolfbeast.com>, www-style list <www-style@w3.org>
On Mon, Jan 25, 2016 at 11:17 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> On Mon, Jan 25, 2016 at 10:58 AM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> On Mon, Jan 25, 2016 at 10:53 AM, Rik Cabanier <cabanier@gmail.com> wrote:
>> > Are you worried about the computed value of the 'transparent' keyword in
>> > the
>> > gradient? If so, that one doesn't resolve to an rgba color.
>>
>> Sure it does.  (Or it should be doing so, for consistency - colors
>> should be computed in computed values.)
>
> It does not. I tried Edge, Safari 9, latest Chrome and Firefox.

Then that's a bug, either in the specs or the implementations.  There
is absolutely no reason a color should serialize differently based on
whether it's bare or wrapped in a gradient function.

~TJ
Received on Monday, 25 January 2016 19:23:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC