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. :-)


Alan
Received on Friday, 16 May 2008 09:06:32 GMT

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