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

> From: fantasai [mailto:fantasai.lists@inkedblade.net]
> Sent: Tuesday, February 21, 2012 7:08 AM
>
> > "shrink-to-fit" should be defined here more specifically. It is the same as
> >  sizing a float or positioned element in CSS2.1
> > Any suggestions for normative text to put here?
> 
> http://www.w3.org/TR/css3-writing-modes/#intrinsic-sizing
> You're looking for the "max-content" size here.

Changed to use 'max-content'. 

Also, it works differently in row vs. column directions:

	1. In row-direction flexbox, shrink-to-fit size of a flex item along the main axis is its 'max-content', as defined in [CSS3-WRITING-MODES]

	2. In column-direction flexbox, shrink-to-fit size of a flex item along the main axis is the extent in block direction that it gets when laid out using its 'fit-content' as its size in inline direction, using cross-size of flexbox content box as available measure, also as defined in [CSS3-WRITING-MODES]. 

	In multi-line column-direction flexbox, cross-size of the whole flexbox content box is used as available measure, not the share of individual flexbox line, to avoid a circular dependency of line breaks on shrink-to-fit calculations.

Received on Monday, 12 March 2012 10:10:21 UTC