W3C home > Mailing lists > Public > www-style@w3.org > August 1996

Re: Shadows.

From: Scott E. Preece <preece@predator.urbana.mcd.mot.com>
Date: Tue, 6 Aug 1996 08:35:07 -0500
Message-Id: <199608061335.IAA24585@predator.urbana.mcd.mot.com>
To: www-style@w3.org
CC: snowhare@netimages.com, www-html@w3.org, www-style@w3.org
 From: Hakon Lie <howcome@w3.org>

| Yes. Shadows are an issue of style and should be addressed in CSS. The
| used of duplicate text/negative margins to achieve this is not a good
| thing as several people have noted. How about:
| 
|   text-decoration: shadow(red, 0.1em, 0.2em);
---

The first argument should probably allow for a SELF value and for a
SRC=url form, as well as just colored shadows.

SELF would allow the shadowing to be in the color of the shadowed
material, without needing to specify it in the shadow spec; the
interpretation would be that the affected material would be drawn first
at the offset location, then again at the base location.

The SRC form would provide a background pattern; the renderer would use
it (possibly tiled) as the "color" of the offset copy of the material
(that is, it would create a background big enough for the shadowed
material, use the original material to mask that background to the shape
of the material, render that masked background at the offset location,
then render the original material over it).

scott
Received on Tuesday, 6 August 1996 09:32:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:45 GMT