W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css3-flexbox] Best way to denote flexible lengths

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Apr 2011 17:02:47 -0700
Message-ID: <BANLkTinoXJoZuOe8Tgvmoy1i0rSfZN9b8w@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: www-style list <www-style@w3.org>
On Wed, Apr 13, 2011 at 4:48 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
>> -----Original Message-----
>> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
>> Sent: Wednesday, April 13, 2011 2:15 PM
>> Nah, using 'fr' (or 'fl', whatever) for absolute flex and
>> 'flex(<pref>,<pos-flex>,<neg-flex>)' for relative flex.
> I think it is worth trying. It means
>        2fr == flex(2,0,0px)
> Right?


> And would this mean that you are then satisfied with how easy it is to apply absolute flex, so the default value for preferred size in flex() function can be *initial value*, and "width:flex(2)"=="width:flex(2,0,auto)" ?

I was thinking that the ordering would put the preferred size first,
so you'd say "flex(auto,2)", but if you prefer the other ordering with
the preferred size last, that's cool too.  I don't have a strong

Received on Thursday, 14 April 2011 00:03:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC