W3C home > Mailing lists > Public > www-style@w3.org > January 2015

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 19 Jan 2015 20:47:14 -0500
Message-ID: <54BDB3A2.2010201@inkedblade.net>
To: www-style@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:56 UTC