W3C home > Mailing lists > Public > www-style@w3.org > March 2016

RE: [css-flexbox] interactions of percentages with min-height: auto

From: Greg Whitworth <gwhit@microsoft.com>
Date: Fri, 25 Mar 2016 19:13:44 +0000
To: Christian Biesinger <cbiesinger@google.com>, www-style list <www-style@w3.org>
Message-ID: <SN2PR03MB2368AFC87188E6A3D39BE19FA4830@SN2PR03MB2368.namprd03.prod.outlook.com>
> -----Original Message-----
> From: Christian Biesinger [mailto:cbiesinger@google.com]
> Sent: Tuesday, March 22, 2016 11:47 AM
> To: www-style list <www-style@w3.org>
> Subject: [css-flexbox] interactions of percentages with min-height: auto
> 
> Hi there,
> 
> question about this testcase:
> http://jsbin.com/tezoqeno/54/edit

> 
> (came from crbug.com/346275)
> 
> .content has height: 100% and .wrapper has height: 2000px, but will be
> shrunk
> For the purposes of computing the min-content height of .wrapper, what
> should the percentage of .content be resolved with? Keep in mind that
> regular percentage calculations will resolve it relative to 2000px...

Do you mean regular % calculations even when taking flex's description that %s should be resolved after the flexing has been completed? 

     # and the percentage must resolve against the flexed main size

https://drafts.csswg.org/css-flexbox/#definite-sizes


> -Christian

Received on Friday, 25 March 2016 19:14:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC