Re: [css-regions][css-flexbox] Interaction between flexboxes and regions


On 6/18/13 1:33 AM, "Alan Stearns" <stearns@adobe.com> wrote:
>Thanks for bringing this up. My first thought is that the regions
>processing model should merely be an input to the flex layout algorithm.
>So when flex asks for a region height, we run through the entire
>processing model to get an answer, without reference to the flex layout
>algorithm.

I believe this might require a multi-step layout if more complex
situations are to be handled. Consider the following case:
<flexbox>
 <region_1 height=auto></region_1>
</flexbox>
<flexbox>
 <region_2 height=auto></region_2>
</flexbox>

The layout for the second flexbox would require the height for region_2
to be computed which can only be known _after_ the content has been flowed
in region_1 and the first flexbox has flexed its size.

-Cătălin

Received on Wednesday, 26 June 2013 08:57:18 UTC