Re: [css-align][css-grid] Baseline Content-Alignment subjects in Grid Layout

On Wed, Oct 14, 2015 at 7:35 AM, Javier Fernandez <jfernandez@igalia.com> wrote:
> Current spec states a *grid item* participates in Baseline
> Content-Alignment if its computed "align-content" property is
> 'baseline'. Considering that the "align-content" property is applied
> only to grid containers, I'm a bit confused about which are the
> alignment subjects for this alignment.

They're the same!  Both of them align the grid item within its tracks
(or the equivalent concepts in flexbox).

The difference is whether the "minimum necessary extra space" is
inserted *inside* (content) or *outside* (self) the alignment subject.
(That is, does it look like you're shifting the contents around, or
the box?)  We apologize that it's very hard to see this distinction in
the current text, and have rearranged things to make it more visible
and obvious.

> I'm not sure what's the difference between Self and Content Baseline
> alignment now since the prose is almost identical, depending on the
> specific meaning of alignment container and subjects for each layout model.

The difference is just "alignment context" vs "alignment subject"
halfway through the last paragraph. ^_^  We've emphasized this
difference.  If you have suggestions on better wording, please let us
know.

~TJ and fantasai

Received on Thursday, 5 November 2015 01:27:42 UTC