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

Re: [css3-background] Default shadow color

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 03 Mar 2011 15:30:22 -0800
Message-ID: <4D70248E.3030605@inkedblade.net>
To: Sylvain Galineau <sylvaing@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 03/03/2011 02:56 PM, Sylvain Galineau wrote:
> The color element of a box shadow is optional [1]:
>
> 	"...omitted colors are a UA-chosen color."
>
> Is there are reason not to make the shadow color currentColor as
> opposed to 'a UA-chosen color' ? This would also apply to
> text-shadow and make this clearly testable, at least.
>
> [1] http://dev.w3.org/csswg/css3-background/#the-box-shadow

http://lists.w3.org/Archives/Public/www-style/2010Dec/0426.html

currentColor is not a good color to use for shadows. It's 99.999%
of the time the wrong color. :) And I'm pretty sure there are lots
of pages out there depending on it being a shade of gray rather
than currentColor.

~fantasai
Received on Thursday, 3 March 2011 23:31:00 GMT

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