W3C home > Mailing lists > Public > www-style@w3.org > June 2013

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

From: Catalin Badea <badea@adobe.com>
Date: Wed, 26 Jun 2013 09:56:45 +0100
To: Alan Stearns <stearns@adobe.com>, "www-style@w3.org" <www-style@w3.org>
CC: "jackalmage@gmail.com" <jackalmage@gmail.com>
Message-ID: <CDF07AC6.2458%badea@adobe.com>

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

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

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.


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:31 UTC