Re: 'animation' and 'transition' ambiguity?

At 2:40 PM -0800 1/20/11, L. David Baron wrote:

>In the css3-transitions spec, there's additional prose that says:
>   # Note that order is important in this property. The first value
>   # that can be parsed as a time is assigned to the
>   # transition-duration. The second value that can be parsed as a
>   # time is assigned to transition-delay.
>   http://dev.w3.org/csswg/css3-transitions/#the-transition-shorthand-property-
>
>The css3-animations spec needs similar wording.

    Yes, and then there's an alternate proposal using a slash.
    The point is that the value definition of 'transition' doesn't 
conform with the prose, which seems like a serious mistake to me.  It 
should be possible to write syntax that doesn't require the text, 
right?  All that's needed is to decide which pattern to support and 
then fix the syntax to match.
    I agree that the two shorthands should be consistent, of course!

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

Received on Thursday, 20 January 2011 22:53:11 UTC