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


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.

Received on Thursday, 3 March 2011 23:31:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:44 UTC