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

Re: [css-flexbox] 'stretch' can shrink flex items - is this intended?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 26 Jun 2013 13:37:38 -0700
Message-ID: <CAAWBYDBVo6W-RTgSRXgQDd4q6dDUBTJHhYXwDaY_59-s8VdjTw@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: W3C WWW Style <www-style@w3.org>
On Wed, Jun 26, 2013 at 1:16 PM, Alan Stearns <stearns@adobe.com> wrote:
> See the regions/flexbox thread from today [1]. You and I have different
> opinions on what happens when.
> When I say that the result of the regions processing model provides an
> input to the flex layout algorithm, I mean the *entire* regions processing
> model. You're picking out an answer from the middle.

Ah, I see I was misreading the region algorithm.  It's confusing,
because you resolve height, like, 3 times.

Still, the effect of 'stretch' is very limited.  It only shrinks
things if the flexbox has a single line, and a definite cross size.
You can treat that equivalently to an additional min and max height

Received on Wednesday, 26 June 2013 20:38:29 UTC

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