W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css3-images] Making gradients readable

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Nov 2011 14:33:59 -0700
Message-ID: <CAAWBYDA0wpwBjXVaOn3C_RFeQmzD-7qhWMYGWMO3eF8UefS3TQ@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Tue, Nov 1, 2011 at 3:44 PM, Brian Manthos <brianman@microsoft.com> wrote:
> Another reason is that I see the general syntax as:
>        <gradient-type>-gradient([<optional-parameters> ,] <color-stop>[, <color-stop>]+)
> where <gradient-type> is either "linear" or "radial" for CSS3, and <optional-parameters> resolves to one of
>        <linear-optional-parameters>
>        <radial-optional-parameters>
> I also believe this easily scales to all gradient types that we might propose for CSS going forward.

I *strongly* agree here.  Once we started playing with the literate
syntaxes, this fell out as an obvious pattern that we can reuse in the

Received on Thursday, 3 November 2011 21:34:49 UTC

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