Re: [css3-images] Making gradients readable

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