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

Re: [css3-flexbox] ussue 2 - fill-available vs. fit-content

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 08 May 2012 11:52:35 -0700
Message-ID: <4FA96B73.200@inkedblade.net>
To: Alex Mogilevsky <alexmog@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
On 05/07/2012 09:32 PM, Alex Mogilevsky wrote:
> Issue 2 [1] says
> “Are flexboxes fill-available or fit-content by default? Or are they really shrink-wrap, such that we need to adjust the main
> size here, now that we know the length of the longest line”
> This shouldn’t be an issue. It is up to parent layout to decide if they want shrink-wrap, based on parent layout and
> display-outside.

No, Flexbox needs to specify for itself. Tables and blocks both participate
in block-level layout, yet given 'auto' width, one is fit-content and the
other fill-available. We can say "use these rules" and point at a set of
rules, but we need to point at a set of rules and not just let people guess
which ones we meant.

Received on Tuesday, 8 May 2012 18:53:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:58 UTC