- 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>
> -----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