Re: [css-flexbox] max-content sizing of flex containers is wrong

On 10/24/2014 08:05 PM, Daniel Holbert wrote:
> On 08/19/2014 04:36 PM, fantasai wrote:
>> Okay, we've fixed this in the spec. Note this will affect auto-sizing
>> of floats and other shrinkwrapped things.
>>    http://dev.w3.org/csswg/css-flexbox-1/#intrinsic-sizes
>
> One nit on this new intrinsic-sizing spec text:
>
> QUOTE:
>    #  1. For each flex item, subtract its flex basis
>    #     from its max-content contribution size [...]
> ...and:
>    #  3. [...] Add each item’s flex basis to the product of its [...]
> http://dev.w3.org/csswg/css-flexbox-1/#intrinsic-sizes
>
> "flex basis" is not the right term to use here, if we're doing addition
> & subtraction.  Consider e.g. "flex-basis: 50%" -- that's not usable for
> arithmetic until we've established the flex container's size. (And we
> might be in the process of establishing the container's size, if we have
> e.g. a floated auto-sized flex container.)
>
> I think this means to say "flex base size" perhaps? That term is defined
> here:
>   http://dev.w3.org/csswg/css-flexbox/#flex-base-size

Fixed. Thanks. :)

~fantasai

Received on Tuesday, 20 January 2015 01:47:48 UTC