Re: 'animation' and 'transition' ambiguity?

At 9:58 AM -0500 1/21/11, Eric A. Meyer wrote:

>At 3:14 PM -0800 1/20/11, L. David Baron wrote:
>
>>There are plenty of cases where the prose expresses additional
>>restrictions over the syntax in the property's header.
>
>    I suppose, but I keep coming back to 'font', which defines a 
>certain placement for the things it requires and the order in which 
>they are required.  It doesn't seem like it would be that hard to do 
>it here as well.  Perhaps to require that they appear together.  For 
>example:
>
>    <'transition-timing-function'> || <'transition-property'> ||
>    [ <'transition-duration'> <'transition-delay'>? ]
>
>Right?  Similar for 'animation', only with two more sets of angle 
>brackets.  That seems like it should have the desired effect.  It's 
>pretty much the proposed version using a slash to separate them, 
>except without the slash.  That seems to me to clarify the intent 
>and not require magic prose.

    Does my proposal there make sense, or have I gone off into the 
weeds?  (If it's the latter, I promise to send back Clarus if I find 
him.)

-- 
Eric A. Meyer (eric@meyerweb.com)     http://meyerweb.com/

Received on Tuesday, 25 January 2011 14:39:52 UTC