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

Re: [css3-background] Default shadow color

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 5 Mar 2011 10:55:53 -0800
Cc: Brian Manthos <brianman@microsoft.com>, fantasai <fantasai.lists@inkedblade.net>, Estelle Weyl <estelle@weyl.org>, "www-style@w3.org CSS" <www-style@w3.org>
Message-Id: <44206DE0-A5B1-4212-B35E-047B3C0E4AF6@gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>

On Mar 4, 2011, at 6:11 PM, Sylvain Galineau wrote:

> I don't get how black is better than currentColor given that it is the default color for text in most browsers; why pick a default that's will be wrong the most often ? 

Black or translucent black would be wrong less often. Shadows that stayed black when the author changes the text color to red would be less surprising. Having the box shadow turn red just because you turn set the color of the text to red would be totally surprising to almost anyone.
Received on Saturday, 5 March 2011 18:56:29 UTC

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