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

On Fri, Mar 25, 2016 at 12:13 PM, Greg Whitworth <gwhit@microsoft.com> wrote:
>> -----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

Well I'm talking about how to compute the min-content size, which
shouldn't be affected by that part of the spec, right?

-Christian

Received on Wednesday, 30 March 2016 18:18:24 UTC