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

[css3-text] RE: Possible text-shadow enhancements

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 8 Mar 2011 21:57:37 +0000
To: Jordan OSETE <jordan.osete@gmail.com>
CC: Brad Kemper <brad.kemper@gmail.com>, Simon Fraser <smfr@me.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <FA122FEC823D524CB516E4E0374D9DCF16D36EE2@TK5EX14MBXC138.redmond.corp.microsoft.com>
Jordan Osete:
> So... about the proposal, it seems that there are now 3 main requests:
> - accept foreground-color in the text-shadow declaration, for graceful
> degradation
> - allow the specification of a spread radius for shadows
> - allow inset shadows
> 
> Could these be considered, and added to the standard ?

Regarding spread radius...

Pick your poison...
http://dev.w3.org/csswg/css3-text/#text-shadow

http://www.w3.org/TR/css3-text/#text-shadow


Both of them say...
"<shadow> is the same as defined for the ‘box-shadow’ property except that the ‘inset’ keyword is not allowed"
...so spread radius is already allowed because...

http://dev.w3.org/csswg/css3-background/#the-box-shadow

http://www.w3.org/TR/css3-background/#the-box-shadow


<shadow> = inset? && [ <length>{2,4} && <color>? ]

•The third length is a blur radius. Negative values are not allowed. If the blur value is zero, the shadow's edge is sharp. Otherwise, the larger the value, the more the shadow's edge is blurred. See below.

Cheers,
- Brian

Received on Tuesday, 8 March 2011 21:58:11 GMT

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