W3C home > Mailing lists > Public > www-style@w3.org > April 2015

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 14 Apr 2015 17:25:55 -0700
Message-ID: <CAAWBYDB9UDyk+8v53t5kDjcTsJZJ0E8BFa5RPn3nYqh1=0VgtA@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style list <www-style@w3.org>
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

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