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:

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:


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC