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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 10 Jun 2013 04:32:34 -0400
Message-ID: <51B58F22.8070009@inkedblade.net>
To: www-style@w3.org
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 08:33:02 UTC

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