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

On Fri, Apr 15, 2011 at 6:56 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
> I think the default for preferred value is "initial value" -- if it applies to padding it will be '0', not 'auto'.

I've amended the opening to the "Flexibility" section to no longer
imply that 'margin' and 'padding' can take 'fr' or flex().


> It may be a good idea to not allow flex(1 auto 0). It is just weird. Can we say that if there are two non-negative numbers they must be together? I think there is precedent in background shortcut property.

I'm still allowing this, because it's easier to define.  It's
unambiguous in every situation, at least.  If you really want me to
disallow it, I can.


> For unitless length, it may be OK to require '0px'. It can also be defined that if there are 3 numbers, the last one is the preferred length (then the first two are never ambiguous).

I've done the latter.

~TJ

Received on Tuesday, 19 April 2011 20:18:20 UTC