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

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 UTC