Re: [css3-flexbox] min/max main-size of flexbox

On Mon, May 7, 2012 at 9:16 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
> ± From: fantasai [mailto:fantasai.lists@inkedblade.net]
> ± Sent: Wednesday, May 02, 2012 4:42 PM
> ± To: www-style@w3.org
> ± Subject: [css3-flexbox] implied minimum size of flex items
> ±
> ± # Determine the main size of the flexbox using its main size
> ± property.
> ±
> ± This needs to be clear that it handles min/max constraints.
>
> This is a bit complicated actually.
>
> Max-width or max-height is important to consider when wrapping items into flexbox lines. But always restricting line lengths to specified max size is not correct either.
>
> If parent layout is also a flexbox, it will need to know max-content without min/max-width/height constraints, of flex algorithm will produce incorrect results.
>
> This step of the algorithm (step 4) needs to mention min/max, but also note that parent layout must be able to suppress that.
>

Are you saying that in some circumstances width/height of an element
can exceed max-width/height values defined on it?


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Tuesday, 8 May 2012 05:00:30 UTC