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

Re: [css3-images] Making gradients readable

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 3 Nov 2011 17:54:03 -0700
Message-Id: <D0DFEBCE-501E-4367-8A34-A020FCD585D0@gmail.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
To: Brian Manthos <brianman@microsoft.com>

On 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 don't feel strongly about whether it should be a keyword or a comma in that place, but a keyword there doesn't preclude it from being a keyword in both. Frex:  

 <gradient-type>-gradient([<optional-parameters> with] <color-stop>[, <color-stop>]+)

Received on Friday, 4 November 2011 01:57:47 UTC

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