W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [CSS3 Color] Proposed erratum on currentColor

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 30 Oct 2012 08:16:50 -0700
Message-ID: <508FEF62.8050702@inkedblade.net>
To: www-style@w3.org
On 10/28/2012 08:52 AM, Chris Lilley wrote:
> Hello,
>
> I propose to change
>
>    The computed value of the ‘currentColor’ keyword is the computed value of the ‘color’ property.
> to
>
>    The computed value of the ‘currentColor’ keyword is the value 'currentColor'. The used value is the computed value of the ‘color’ property.
>
> The spec goes on to say
>
>    If the ‘currentColor’ keyword is set on the ‘color’ property itself, it is treated as ‘color: inherit’.
>
> and its not clear to me how this erratum would affect that.

Hmm, how about

   If the 'currentColor' keyword is specified on the 'color' property itself,
   it is treated as 'color: inherit'. Otherwise, this keyword computes to
   itself, and the resulting used value is taken from the value of the 'color'
   property.

~fantasai
Received on Tuesday, 30 October 2012 15:17:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT