Re: [css-grid] About the meaning of being "sized under min|max-content constraint"

On 06/11/15 01:18, Tab Atkins Jr. wrote:
>> For #one the item takes as much height as it needs to position all the
>> > text in one "column" (i.e. only obeys its auto height), but in #two the
>> > item is indeed sized under min-content constraint. So, why should we
>> > want to have a different behavior for grid containers?
> The example doesn't show what you think it does, but actually you're
> right, your original example 1 and 2 are correct per spec right now.
> In your example 2, or #one (height:min-content on parent), the parent
> is a block, which always treats block-axis min-content as identical to
> auto, so the child never even sees a min-content constraint.

Oh indeed, you're absolutely right on that, and it explains what I was
observing. I knew it but I failed to join the dots :).

BR

Received on Friday, 6 November 2015 11:27:41 UTC