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

Re: 'animation' and 'transition' ambiguity?

From: Eric A. Meyer <eric@meyerweb.com>
Date: Fri, 21 Jan 2011 09:58:48 -0500
Message-Id: <a06230920c95f4d7f943d@[]>
To: www-style@w3.org
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 

    <'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.

Eric A. Meyer (eric@meyerweb.com)     http://meyerweb.com/
Received on Friday, 21 January 2011 14:59:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:42 UTC