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

Re: [css-flexbox] max-content contribution not defined for flex items

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 2 Sep 2015 13:30:02 -0400
To: www-style@w3.org
Message-ID: <55E7321A.9090504@inkedblade.net>
On 08/21/2015 05:32 PM, Christian Biesinger wrote:
> That seems largely reasonable to me, though I haven't worked through
> all the details.
> General thought: Since we generally use flex-basis instead of width
> (/height) in Flexbox, we should do that also for the intrinsic sizing
> computation. That is, "flex-direction: row; flex-basis: 50px; width:
> auto;" should produce the same intrinsic main size as "flex-direction:
> row; width: 50px;".

The WG discussed this last week and concluded that we shouldn't
consider the flex-basis since that's closest to what implementations
do now. Testcase:

> Also, I just added a counter to Chrome 46 to see how many websites
> will be affected by this intrinsic size change, at least for logical
> widths. Hopefully the results will be promising.

Cool. :) Can you summarize the case you're counting (or post a link
to the code)?

Received on Wednesday, 2 September 2015 17:30:34 UTC

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