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

± 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.

Alex

Received on Tuesday, 8 May 2012 04:17:20 UTC