RE: [flex-units] unit abbreviations and the flex()

> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of Zack Weinberg

> [re '1*' not being a DIMENSION]
> > Existing syntax just needs these two updates:
> >
> > PERCENTAGE	::=	num '%'
> > FLEX	                ::=	num '*'
> >
> > any        : [ IDENT | NUMBER | PERCENTAGE | DIMENSION | STRING |
> FLEX
> >               | DELIM | URI | HASH | UNICODE-RANGE | INCLUDES
> >               | FUNCTION S* any* ')' | DASHMATCH | '(' S* any* ')'
> >               | '[' S* any* ']' ] S*;
> >
> > I do not see any problems with this, do you?
> 
> You're proposing a change in the CSS2.1 generic syntax.  I don't
> think that's worth doing just for the (arguable) additional
> readability of '1*' over '1fl'.

I agree. And if flex can be used in calc(), I don't find * adds any
readability as length unit since it's also an operator in this context.

Received on Friday, 28 May 2010 20:22:29 UTC