[css3-background] suggestion of alternate method for drawing shadows

I would suggest that shadows in CSS3 be drawn as follows:
1. Color should be specified according to the CSS3 color properties 
(i.e. with an alpha value)
2. This means that things below the shadow would still show through, 
so I'd recommend that the shadow be drawn immediately behind the box. 
It would then act like a real shadow, and shadow everything beneath 
it.
3. The shadow's opacity in various places should be affected by the 
opacity of the current box.  For example, if the background of the 
current box is transparent, but there is a border on the box, you 
would see a shadow of the border, but it would not be filled in. 
(you would also see it inside the box, since the box is transparent 
and would therefore see through it).  If the background of the box is 
semi-transparent (via a color with an alpha, an opacity value, OR 
MAYBE a transparent PNG?) then that opacity value would be applied to 
the shadow as well.

Received on Monday, 16 May 2005 09:51:13 UTC