W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [css-grid] Editorial: align-self and justify-self are swapped in example 1 and 3

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 14 Apr 2015 16:39:25 -0700
Message-ID: <CAAWBYDD96dX_h-7FS4gnxKuc0thZn2993qGiDQszvvZ_dnGg2g@mail.gmail.com>
To: Manuel Rego Casasnovas <rego@igalia.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Mar 30, 2015 at 2:44 AM, Manuel Rego Casasnovas <rego@igalia.com> wrote:
> Hi,
>
> I think that in examples 1 and 3 the properties align-self and
> justify-self are swapped.
>
> EXAMPLE 1
>
>> #stats    { grid-column: 1; grid-row: 2; justify-self: start }
>
> I guess, it should be "align-self: start". It wants that the #stats
> appear on the top.
>
>> #controls { grid-column: 2; grid-row: 3; align-self: center }
>
> The controls in the picture are horizontally centered, so it should be
> "justify-self: center".
>
>
> EXAMPLE 3
>
>>   #track       { grid-column: track-start / track-end; align-self:
> center }
>> [...]
>>  #lower-fill  { grid-column: track-start / fill-split;
>>         align-self: end;
>>         z-index: 5 }
>>  #upper-fill  { grid-column: fill-split / track-end;
>>         align-self: start;
>>         z-index: 5 }
>
> It uses "align-self" in several places, and it should be "justify-self"
> instead.

Yup, you're right.  Fixed, thanks.

~TJ
Received on Tuesday, 14 April 2015 23:40:13 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC