W3C home > Mailing lists > Public > www-style@w3.org > December 2015

RE: [css-flexbox] available space and max-height

From: Greg Whitworth <gwhit@microsoft.com>
Date: Wed, 2 Dec 2015 21:44:23 +0000
To: Christian Biesinger <cbiesinger@google.com>, Tab Atkins Jr. <jackalmage@gmail.com>, Daniel Holbert <dholbert@mozilla.com>
CC: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
Message-ID: <CY1PR03MB14391CF82C3F6CE270B975FDA40E0@CY1PR03MB1439.namprd03.prod.outlook.com>
>> Your testcase doesn't invoke max-content at all.  Your desired result
>> is what you get, yes, but from elsewhere in the algorithm, as fantasai
>> outlined.
>Huh? Why do you say that? It's an inline-flex, therefore shrink-wrapped,
>therefore should be sized at max-content. No?
>Yet the border/background-color is only around the first column in blink, right

Yep I'm confused by Blink's result here, even Firefox's (adding Daniel for insight). Edge wraps all of the columns, not just the first flex line (which seems to be what is stated in 9.3 of Main size determination). This is even more apparent if you change the testcase[1] from a column flex to a row flex (and change max-height to max-width), all three browsers render the same as Edge does in the initial column flow testcase.

[1] http://codepen.io/anon/pen/pgzKbq


Received on Wednesday, 2 December 2015 21:44:54 UTC

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