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

Re: [css-align] Meaning of the "legacy" keyword.

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 16 Dec 2014 19:28:20 -0800
Message-ID: <5490F854.3030109@inkedblade.net>
To: www-style@w3.org
On 06/24/2014 04:56 AM, Javier Fernandez wrote:
> Hi,
> On 06/24/2014 12:40 AM, Tab Atkins Jr. wrote:
>> On Mon, Jun 23, 2014 at 3:04 PM, Javier Fernandez <jfernandez@igalia.com> wrote:
>>> I wonder whether this inheritance applies also when the value of
>>> "align-self" is not auto. The specification does not mention that it
>>> applies only to "auto" values, so I assume it causes any other value,
>>> even the one specified by the user would be overwritten by the parent's
>>> legacy value.
>> No, it's only passed when 'justify-self' is "auto", as that's the only
>> value that looks at 'justify-items'.  This could possible use some
>> cleaning-up.
> I think the confusion comes from the sentence about "justify-self" in
> the prose describing the "legacy" keyword's behavior, not mentioning it
> applies only when using "auto" value. That was already explained in the
> justify-self section, so it was redundant but with a different wording.

We've tweaked the prose to clarify this now.
   # When justify-self:auto retrieves the value of justify-items, only
   # the alignment keyword, not the legacy keyword, is passed to it.

Let us know if it's still unclear.

Received on Wednesday, 17 December 2014 03:28:58 UTC

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