Re: [css-text-decor] "Computed value" line for text-shadow incorrect

On Thu, Mar 26, 2015 at 8:15 AM, L. David Baron <dbaron@dbaron.org> wrote:
> http://dev.w3.org/csswg/css-text-decor/#text-shadow-property
> currently has the definition:
>
>   Computed value:  a color plus three absolute <length>s
>
> This is incorrect in two ways:
>
>  (1) It doesn't admit that the property takes a 'none' value or that
>  it can have multiple shadows
>
>  (2) It claims that 'currentColor' or the initial value always
>  computes to a color, rather than something that uses the current
>  value of the 'color' property as it inherits.  For currentColor it
>  is the latter in level 4 of CSS Color (assuming the change sticks);
>  for the initial value it has always been the latter.
>
> I think it should instead use the line from
> http://dev.w3.org/csswg/css-backgrounds-3/#box-shadow which says:
>
>   Computed value:  any <length> made absolute; any specified
>                    color computed; otherwise as specified

Fixed, thanks.

~TJ

Received on Wednesday, 15 April 2015 00:27:10 UTC