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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 07 Nov 2014 08:26:32 -0500
Message-ID: <545CC888.6040605@inkedblade.net>
To: Javier Fernandez <jfernandez@igalia.com>, www-style@w3.org
On 11/07/2014 08:10 AM, fantasai wrote:
> On 11/05/2014 04:47 PM, Javier Fernandez wrote:
>> Hi,
>> I'm working on the implementation of the align-content and
>> justify-content properties for grid and it seems ISSUE6 is still
>> pending; I've already made some assumptions for the ongoing
>> implementation but it'd be great to solve it as soon as possible.
>>   - http://dev.w3.org/csswg/css-align-3/#issue-dda0e769
> Issue 6 is just a terminology issue wrt "bounds of the grid".
> Probably not the issue you're concerned about.
>> I'm assuming 2 different interpretations depending on the kind if value
>> used for the alignment.
>>    - in case of <content-position> values, the 'alignment.container' is
>> the grid container and the 'alignment subject' is the box defined by the
>> grid tracks
>>    - in case of <content-distribution>,the 'alignment container' is the
>> grid track, while the grid items placed on it are the 'alignment subject' .
>> I'm not sure how to deal with items placed on the same Gird Cell or
>> occupying more than one row/column track when using content-distribution
>> values.
> Actually, I don't think what you wrote (point #2) makes sense...

Oh, btw! Current spec text you might have missed:

# The align-content property applies along the block (column) axis.
# The justify-content property applies along the inline (row) axis.
# In both properties, if a <content-distribution> is specified, the
# fallback alignment is used instead.

Notice specifically the last sentence.

Received on Friday, 7 November 2014 13:27:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC