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: Thu, 3 Mar 2011 19:46:16 -0800
Cc: Brian Manthos <brianman@microsoft.com>, fantasai <fantasai.lists@inkedblade.net>, Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <DDBFE1D9-F396-40A6-8B1E-8F692C34A145@gmail.com>
To: Estelle Weyl <estelle@weyl.org>

On Mar 3, 2011, at 7:26 PM, Estelle Weyl wrote:

> My oft used use case for text shadow is:
> 
> text-shadow: 0 0 1px currentColor;
> 
> reason: graphic designers like to use helvetica thin, which is illegible. a tiny shadow makes the text legible.
> 
> So, while developers can decide "I want all my drop shadows to be rgba(0,0,0,0.3) (I find 0.5 way too dark), it would be much more complex to always define the current color of the text, which could be forever changing. Grey is easy to determine. What color your text is throughout a site is much more difficult to determine.
> 
> 
> I would prefer to see text shadow remain current color.

This is presumably for a user style sheet, right?

It is clearly a hack though. If there is a need for a property for thickening up the strokes of text glyphs, then we should have that property. Something like 'font-smooth: strong' perhaps.
Received on Friday, 4 March 2011 03:46:51 GMT

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