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

Possible text-shadow enhancements

From: Jordan OSETE <jordan.osete@gmail.com>
Date: Sun, 27 Feb 2011 22:19:27 +0100
Message-ID: <AANLkTim1By4fG+=UxP6wLp+AMjU2Cbt8b0PcZ=Cw6F42@mail.gmail.com>
To: www-style@w3.org
Hello everybody,

This is actually a follow-up to an old proposal written a few years ago:
http://lists.w3.org/Archives/Public/www-style/2008Oct/0266.html

In short, the proposal was to improve text-shadow in two simple ways:
- add an optional spread radius, to replace text-outline, and allow a
wider range of effects
- text-shadow could accept the foreground color, to avoid the
unreadable text issue in case the user agent does not support the
property (for graceful degradation):
  text-shadow: [fgColor,]? shadow [, shadow ... ];

I have written a simple mock-up of what is possible with the HTML5
canvas tag, as well as a few (basic) examples here:
http://www.fruitsofts.com/testcases/canvas_text-shadow.htm

Regards,

Jordan Osete
Received on Sunday, 27 February 2011 21:20:22 GMT

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