Re: [css-flexbox] intrinsic sizing

On 05/06/2015 03:45 PM, Christian Biesinger wrote:> On Tue, May 5, 2015 at 7:57 PM, Christian Biesinger
> <cbiesinger@google.com> wrote:
>> On Tue, May 5, 2015 at 5:19 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>>> Let me know if that addresses your concern.
>>
>> Yes... it does. (As a sidenote, why is flex-basis: available not
>> definite? http://dev.w3.org/csswg/css-flexbox/#definite)
>
> After re-reading, there is another part here that requires layout to
> calculate the intrinsic size, I think:
> "3. Add each item’s flex basis [...]"
>
> The flex basis here may require layout, right? (flex-basis: content)

I'm not sure why your concern about about 3 is any different from 1.
You're quoting from here, right?
   http://dev.w3.org/csswg/css-flexbox-1/#intrinsic-sizes

   # 1. For each flex item, subtract its flex base size from its max-content
   #    contribution size...
   # 3. Add each item’s flex base size to the product of its flex grow factor...

~fantasai

Received on Thursday, 7 May 2015 00:31:04 UTC