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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 5 Jun 2012 14:51:32 -0700
Message-ID: <CAAWBYDBXXPckpqnOFdyReaKpZ05TdQsGGcdnxZ7ndh-feKHz2Q@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: www-style@w3.org
On Tue, Jun 5, 2012 at 2:48 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> 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.

I went with "Zero values for...".  Thanks!

Received on Tuesday, 5 June 2012 21:52:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC