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

Re: Possible text-shadow enhancements

From: Gabriel Zackari <gabriel.zackari@gmail.com>
Date: Mon, 28 Feb 2011 11:05:19 +0100
Message-ID: <AANLkTi=qeb6P5qJNQt_nuumBQiUpemOPuUWnxq3Vif6n@mail.gmail.com>
To: Jordan OSETE <jordan.osete@gmail.com>
Cc: www-style@w3.org
*Very nice examples!*

I agree that the definition of textshadow is currently quite weak.
It would be very nice if it would become more versatile.

Just want to give an argument for also keeping Text-shadow since I found
this note.

The spread radius argument added to the
property makes this property somewhat redundant. Should it be kept?

Even if text-shadow would be improved to enable a spread radius and mulitple
I think it is very important that text-border is not removed.

One very common effekt on logos/text is to have both an outline and a
dropshadow  with a diagonal offset.
This would not be possible if the text-border was removed.
Unless you could offset different areas of text-shadow attribute, but that
sound like a tedious solution to me.


Gabriel Zackari

On Sun, Feb 27, 2011 at 10:19 PM, Jordan OSETE <jordan.osete@gmail.com>wrote:

> 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 Monday, 28 February 2011 10:05:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC