- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 3 Nov 2011 14:33:59 -0700
- 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 future. ~TJ
Received on Thursday, 3 November 2011 21:34:49 UTC