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

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

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Wed, 13 Apr 2011 23:48:58 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928411F2CDA1@TK5EX14MBXC213.redmond.corp.microsoft.com>
> -----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)


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)" ?

Received on Wednesday, 13 April 2011 23:49:28 UTC

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