Re: Shadows.

Scott E. Preece (preece@predator.urbana.mcd.mot.com)
Tue, 6 Aug 1996 08:35:07 -0500


Date: Tue, 6 Aug 1996 08:35:07 -0500
Message-Id: <199608061335.IAA24585@predator.urbana.mcd.mot.com>
From: "Scott E. Preece" <preece@predator.urbana.mcd.mot.com>
To: www-style@w3.org
CC: snowhare@netimages.com, www-html@w3.org, www-style@w3.org
In-reply-to: Hakon Lie's message of Tue, 6 Aug 1996 15:08:25 +0200
Subject: Re: Shadows.

 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