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

Re: [css3-flexbox] Change the behavior of omitted flex-shrink in the flex shorthand

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 5 Jun 2012 19:24:23 -0700
Message-ID: <CAAWBYDD=+Z5ex+gmavUT=Ta4s8j4hYa40Tg+pWYWyk4t7fa7Qg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Tue, Jun 5, 2012 at 5:19 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 05/17/2012 09:00 PM, Tab Atkins Jr. wrote:
>> Issue link:
>> http://wiki.csswg.org/topics/css3-flexbox-default-shrink-when-grow-is-0
>>
>> We discussed this at the F2F, but didn't come to a conclusion, as it
>> was right at the end of the period.
>>
>> To address other issues, we changed the default for 'flex-shrink' from
>> 0 to 1 during the F2F.  However, this means that the behavior of
>> “flex: 0<length>;” changes - it can now shrink, where before it
>> couldn't.
>>
>> We propose to make an omitted flex-shrink default to 0 if the
>> flex-grow is given as 0 in the flex shorthand.  I think dbaron was
>> weakly against this during the F2F.  David, how do you feel?
>
> So, if we go with Proposal C for the initial values of 'flex':
>  http://www.w3.org/mid/4FC70851.1030906@inkedblade.net
> then I really don't think we should make this change.

Makes sense to me.

~TJ
Received on Wednesday, 6 June 2012 02:25:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT