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

Re: [css3-flexbox] clarify the syntax ambiguity around unitless zero in 'flex' shorthand

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 14 Sep 2012 14:30:11 -0700
Message-ID: <5053A1E3.2080406@inkedblade.net>
To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
CC: Daniel Holbert <dholbert@mozilla.com>, WWW Style <www-style@w3.org>
On 09/11/2012 08:51 PM, Kang-Hao (Kenny) Lu wrote:
>    | If not omitted, a zero<'flex-basis'>  component must be either
>    | specified with a unit or preceded by both flex ratios. Otherwise the
>    | user agent must interpret it as one of the flex ratios.
> should be enough. (But it all depends on what "component" means... *shrug*)

Ok, so I'm debating between that wording and the following:

   | A unitless zero that is not already preceded by two flex factors
   | is interpreted as a flex factor.
   | To avoid misinterpretation or invalid declarations,
   | authors must specify such lengths with a unit or precede them by both flex ratios.


Received on Friday, 14 September 2012 21:30:44 UTC

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