Re: [css3-flexbox] remove flex() function

On 01/05/2012 04:48 PM, Ojan Vafai wrote:
> I don't see a problem with just having the flex(1 0 10px) == 10px when
> not in a flexbox. It doesn't seem weird to me.

Sure, but it's weirder / less intuitive when preferred width is omitted 
from the flex() function -- then it computes to 0px and won't render at 
all, since 0px is the default preferred width in flex().

So e.g. "width: flex(5)" would be equivalent to "width: 0px", in 
non-flexbox contexts.

Received on Friday, 6 January 2012 07:11:39 UTC