W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: [css3-text] computed value of 'text-decoration-color'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 29 Mar 2011 16:25:40 -0700
Message-ID: <4D926A74.8080908@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: www-style@w3.org
On 03/28/2011 04:44 PM, L. David Baron wrote:
> http://dev.w3.org/csswg/css3-text/#text-decoration-color says the
> computed value of 'text-decoration-color' is "as specified".  This
> is inconsistent with other properties that accept 'currentColor'
> such as http://www.w3.org/TR/css3-background/#the-border-color and
> should instead say "the computed color" so that the value
> 'currentColor' is inherited as a color.

That's a very good point. 'currentColor' is defined to compute to
a color value. But what we need here (and in 'text-shadow', per
Estelle's comments) is a value that inherits as itself.

We didn't have this problem before because border-color is not an
inherited property, so its behavior wrt inheritance was not important.

~fantasai
Received on Tuesday, 29 March 2011 23:26:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT