W3C home > Mailing lists > Public > www-style@w3.org > June 2012

[css3-flexbox] Typo: "must be specified with a unit" seems to exclude keywords as flex-basis values

From: Daniel Holbert <dholbert@mozilla.com>
Date: Tue, 05 Jun 2012 14:48:35 -0700
Message-ID: <4FCE7EB3.2070303@mozilla.com>
To: www-style@w3.org
CC: "Tab Atkins Jr." <jackalmage@gmail.com>
Nit: the chunk of spec text describing the "flex-basis" component of the
flex shorthand currently says:

  # The <'flex-basis'> component must be specified with a unit.
  http://dev.w3.org/csswg/css3-flexbox/#flex-basis

Of course, this isn't true (and makes no sense) for keywords like "auto"
or "fit-content".  These keywords do *not* include a unit, but we still
want them to be valid as the <'flex-basis'> component.

This sentence probably wants something at the beginning like "Numeric
values for..." or (more precisely) "Zero values for...", or some other
equivalent wordsmithing.

Thanks,
~Daniel
Received on Tuesday, 5 June 2012 21:49:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT