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

Re: [css3-images] <side-or-corner> defined twice, differently

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 12 Sep 2011 02:04:18 -0700
Message-ID: <CAAWBYDAV1CTqbz_+7XPEpyNAh-HvXW0yLE5nJ8CdrvsL6Ss9MA@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Sun, Sep 11, 2011 at 2:14 PM, L. David Baron <dbaron@dbaron.org> wrote:
> The <side-or-corner> production is defined in two different places
> in css3-images.  In
> http://dev.w3.org/csswg/css3-images/#linear-gradients it is defined
> as:
>  # <side-or-corner> = [left | right] || [top | bottom]
> whereas in http://dev.w3.org/csswg/css3-images/#repeating-gradients
> it is defined as:
>  # <side-or-corner> =
>  #   [ [left | right] || [top | bottom] ] |
>  #   [ [start | end] || [before |after] ]
>
> It seems to me that it should be defined in only one place, and it
> should have only one definition.
>
> (I'm guessing that the addition of start/end/before/after was
> intended to apply to both repeating and non-repeating gradients, and
> the second definition is the correct one.)

Whoops, indeed.  No idea how I didn't copy the definition over.

You're right that it should be defined in only one place.  I'll fix
the linear-gradient definition, and then just link to that from
repeating-gradient.

~TJ
Received on Monday, 12 September 2011 09:05:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT