Re: [css3-flexbox] flex-shrink defines a negative flex ratio; negative numbers are invalid

On Thu, May 31, 2012 at 2:42 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> On 05/31/2012 02:18 PM, Alex Mogilevsky wrote:
>> It would make "flex:1 -1 100px" look cool and we certainly can do
> that. It would however create the first ever precedent of a property
> taking negative values only. And its meaning is not really "negative",
> it is ability to shrink...
>>
>> Maybe we should just use a different word in the spec?
>
> Perhaps just:
>  s/positive flex ratio/flex grow ratio/
>  s/negative flex ratio/flex shrink ratio/
> with appropriate massaging of contextual text?
> (e.g. "If the sign of the free space matches the sign of the
> flexibility" would perhaps get s/matches the sign/matches the type/.)

Good idea, done.

~TJ

Received on Tuesday, 5 June 2012 17:46:07 UTC