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

Re: [css-flexbox] intrinsic sizing

From: Christian Biesinger <cbiesinger@google.com>
Date: Wed, 6 May 2015 19:27:07 -0400
Message-ID: <CAPTJ0XE6tu7K52+k0kO3X0CffbCLCM8umyoVOS1TMm-vkgX9PA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Wed, May 6, 2015 at 7:26 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Wed, May 6, 2015 at 4:11 PM, Christian Biesinger
> <cbiesinger@google.com> wrote:
>> On Wed, May 6, 2015 at 6:45 PM, Christian Biesinger
>> <cbiesinger@google.com> 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)
>>
>> Or maybe flex basis should say "flex base size"...?
>
> "flex basis" is just the 'flex-basis', or the 'width'/'height'.  "flex
> base size" is the one more likely to require layout; it's the value
> calculated by 9.2.3 and then clamped to get the hypothetical main
> size.

But how would you calculate "flex-basis: content" here without layout?

-christian
Received on Wednesday, 6 May 2015 23:27:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC