W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: box-shadow and features

From: Alan Gresley <alan@css-class.com>
Date: Fri, 16 May 2008 19:05:31 +1000
Message-ID: <482D4E5B.8090502@css-class.com>
To: David Hyatt <hyatt@apple.com>
CC: Brad Kemper <brkemper@comcast.net>, www-style list <www-style@w3.org>

David Hyatt wrote:
> On May 16, 2008, at 3:11 AM, Alan Gresley wrote:

>> That the point with Issue 32. I have always believed that box-shadow 
>> should be seen through a transparent background. The same as 
>> text-shadow works.
> The problem with the box-shadow being seen through a transparent 
> background is that people expect box-shadow to work on boxes that don't 
> specify an explicit background.  For example if a box has a border but a 
> transparent background, box-shadow should stlll work.  Unlike 
> text-shadow, box shadows are not really "cast" by anything.
> dave

I totally agree. Is their a way to mask the background.

background: 0 0 0 0 mask;
background: 0 0 0 0 color;

I do want to avoid the use of extra divs just to emulate a shadow behind 
a transparent background.

Maybe I'm the only odd-ball on this planet..., their are a few others. :-)

Received on Friday, 16 May 2008 09:06:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:36 UTC