W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-grid][css-align] Issues with align-content / justify-content properties

From: Javier Fernandez <jfernandez@igalia.com>
Date: Tue, 11 Nov 2014 18:08:02 +0100
Message-ID: <54624272.6000304@igalia.com>
To: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org, Fran├žois REMY <francois.remy.dev@outlook.com>
Hi,

On 11/11/2014 05:49 PM, fantasai wrote:
> In Grid Layout, I'm not sure what's the most sensible answer. My 
> first guess is to ignore the sizing information and just stretch all
> of the tracks, but we should probably ping some authors and see what
> they would expect.
> 

I was able to implement something meaningful by considering just Content
Sized tracks, hence 'auto', 'min-content' and 'max-content'. However,
these assumption only applies if there are no flexible tracks, since
they are intended to occupy all the available space. In a way, flexible
tracks are quite similar to what we are trying to achieve with 'stretch'
on auto-sized tracks.

The sentence about the min/max constrains is still an issue that has to
be clarified by other Grid Layout spec authors. I'd go for just ignoring
it for this case.

BR

--
javi
Received on Tuesday, 11 November 2014 17:08:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC