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

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

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 2 Dec 2015 13:55:27 -0800
To: Greg Whitworth <gwhit@microsoft.com>, Christian Biesinger <cbiesinger@google.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
Message-ID: <565F68CF.2080401@mozilla.com>
On 12/02/2015 01:44 PM, Greg Whitworth wrote:
>>> 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
>> now.
>>
>> -Christian
> 
> Yep I'm confused by Blink's result here, even Firefox's (adding Daniel for insight).

Firefox's current intrinsic-width calculation for a wrapping
column-oriented flexbox is known-naive/wrong.  That's filed here:
  https://bugzilla.mozilla.org/show_bug.cgi?id=995020

Looks like https://code.google.com/p/chromium/issues/detail?id=507397 is
filed on the similar issue for Chrome (and seems to be what prompted
biesi to start this thread).

~Daniel
Received on Wednesday, 2 December 2015 21:56:00 UTC

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