W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-animations][css3-transitions] grammar fixes, and edits to animation-direction

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 28 Mar 2012 23:38:13 -0700
Message-ID: <4F740355.4080201@inkedblade.net>
To: www-style@w3.org
On 03/28/2012 10:24 PM, L. David Baron wrote:
> As described in http://www.w3.org/TR/CSS21/about.html#value-defs ,
> the following Value line:
>
>    Value: normal | alternate [, normal | alternate]*
>
> is not at all what it looks like.  Since juxtaposition binds tighter
> than | (though I admit thinking it was the other way around), this
> syntax describes a property that allows values of the form:
>
>    animation-direction: normal alternate alternate
>    animation-direction: normal alternate , normal , normal alternate
>
> since it says that commas go only before normal and not before
> alternate.  [] are needed, like this:
>
>    Value: normal | alternate [, [ normal | alternate ] ]*

There's a # multiplier in css3-values that should make things like this
easier to specify, since we do comma-separated lists a lot.

   Value: [ normal | alternate ]#

http://www.w3.org/TR/css3-values/#component-multipliers

~fantasai
Received on Thursday, 29 March 2012 06:38:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT