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

Re: [css3-images] comments on radial gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 14 Mar 2012 16:05:18 -0700
Message-ID: <CAAWBYDACDiqxC0M2bC2GSBBxdnKVJtBVs5cwamrw2wGEKcHPhQ@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
On Wed, Mar 14, 2012 at 3:56 PM, Brian Manthos <brianman@microsoft.com> wrote:
> [A]
>>        radial-gradient(red -25px, blue -20px, green -15px);
>
> [1] [A] is a valid declaration.
> [2] All three locations in [A] "are never directly consulted for rendering".
> [3] No impact on [A] as there are no non-negative locations.
>
> So [A] is a valid declaration but none of the stops are ever consulted for rendering, nor are there any additional stops that they affect.
>
> So ... does that imply you render transparent since there are stops consulted for rendering?
>
> IMO, the desired behavior is to solid fill green but the spec leaves it open for an implementation to render nothing / transparent without being non-conformant.

As I explained in my previous email, this reading of the spec language
(where the stops are ignored) was never intended, and I've reworded
the relevant section of the spec to attempt to make it clearer that
this is talking about the locations on the gradient line (color-stops
are placed *at* locations, they are not locations themselves).

Does this address your concerns?

~TJ
Received on Wednesday, 14 March 2012 23:06:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:51 GMT