Re: [css-align][css-grid] About stretch and justify|align-self|items properties

On Thu, Nov 5, 2015 at 4:48 AM, Manuel Rego Casasnovas <rego@igalia.com> wrote:
> On 04/11/15 22:01, Tab Atkins Jr. wrote:
>>> By default ("stretch") item's size would be 50x50.
>>> But if we use "justify|align-self: start;" the item's size will be
>>> 100x100 (because of "grid items will auto-size to fit their contents"
>>> from the quote above).
>>> So "stretch" is somehow shrinking the item in this particular example.
>>>
>>> Notice that the "stretch" case with the default value for
>>> "min-width|height: auto;" will be 100x100 too.
>>
>> Yeah, same behavior from Flexbox. Do you want a note or example or
>> something here?
>
> Dunno, maybe a note is enough. At least, it seemed something weird to me
> that "stretch" was actually shrinking things in some cases.

Added a note.

~TJ

Received on Thursday, 3 December 2015 23:39:07 UTC