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

Re: [css3-flexbox] corrections/clarifications on updated flexbox algorithm

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 21 Feb 2012 16:07:45 +0100
Message-ID: <4F43B341.40000@inkedblade.net>
To: www-style@w3.org
On 02/16/2012 07:40 AM, Alex Mogilevsky wrote:
>     (a) Here, are we still laying out each child *as if it were the only
>  child* (as a previous version of the ED stated about this part)?
> No, it means lay out in infinite space to find what size the item would be if it didn't have constraints of any kind.
>     (b) "using the shrink-to-fit algorithm" -- could this link to somewhere
>  where that algorithm is definitively defined?
> "shrink-to-fit" should be defined here more specifically. It is the same as sizing a float or positioned element in CSS2.1 (http://www.w3.org/TR/CSS21/visudet.html#float-width), but without the last step of min(max(preferred minimum width, available width), preferred width).
> Any suggestions for normative text to put here?


You're looking for the "max-content" size here.

Received on Tuesday, 21 February 2012 15:08:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:11 UTC