W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css-text] clarification may be needed for text-align:match-parent

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Mon, 10 Jun 2013 13:09:52 +0300
Message-ID: <CA+FsOYYBtpzYwTSYib93Z0nVA7aYQLVW1jS81xxaFRdkx73xpg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: W3C style mailing list <www-style@w3.org>
Looks good, thanks!


On Mon, Jun 10, 2013 at 11:32 AM, fantasai <fantasai.lists@inkedblade.net>wrote:

> On 05/12/2013 01:13 AM, Aharon (Vladimir) Lanin wrote:
>
>> Note really; I actually find the old wording clearer. And, given the spec
>> that Kenny quoted, I am no longer sure that a
>> clarification is really needed. That is, given that 'match-parent' is
>> explicitly stated to have a computed value of 'left' or
>> 'right' when it inherits 'start' or 'end', then that an element
>> inheriting from that element with match-parent will also have
>> a computed value of 'left' or 'right' follows directly from the spec as
>> quoted by Kenny ("if the property is inherited and the
>> element is not the root of the document tree, use the computed value of
>> the parent element").
>>
>
> Ok, I've got it to a merge of the two wordings. Let me know if this works,
> or if you still want the parenthetical removed.
>
>   # This value behaves the same as ‘inherit’ (computes to its parent's
>   # computed value) except that an inherited ‘start’ or ‘end’ keyword
>
>   # is interpreted against its parent's ‘direction’ value and results
>   # in a computed value of either ‘left’ or ‘right’.
>
> ~fantasai
>
>
Received on Monday, 10 June 2013 10:10:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC