Re: [css3-animations] Times are listed as unitless

On Friday 2011-05-06 16:43 -0700, David Singer wrote:
> 
> On May 6, 2011, at 16:08 , L. David Baron wrote:
> 
> > On Friday 2011-05-06 10:26 -0700, David Singer wrote:
> >> Are we sure that there are no
> >> parsing-depends-on-units-implying-type places in CSS?
> > 
> > In addition to the gradients issue already pointed out, there's also
> > the 'animation' shorthand property, where in addition to an ordering
> > rule for animation-duration vs. animation-duration, there needs to
> > be a way of determining whether a '0' is for one of those properties
> > or is for animation-iteration-count.
> > 
> > (I'm also not saying that there aren't others.)
> 
> Thanks.  One is plenty;  it destroys any confidence that the
> number of cases is and always will be zero.  This makes general
> unitless zeroes dangerous and complicates parsing to no useful
> effect.

That said, I don't know of any examples that are already in CR, and
I suspect that there aren't any (due to the low use of non-length
units in drafts that are already in CR).  So these are things that
we can fix.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Saturday, 7 May 2011 00:28:08 UTC