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

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.

~fantasai

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