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

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

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 7 May 2012 22:00:01 -0700
Message-ID: <CALRQH78_--qrY6gaETYuE8smbG7_LW8ZbNeoW9DOobW_TxGpxQ@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
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.

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

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