W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: [css3-background] CSS Drop Shadows

From: David Hyatt <hyatt@apple.com>
Date: Tue, 18 Dec 2007 12:55:32 -0600
To: Brad Kemper <brkemper@comcast.net>
Cc: John Oyler <johnoyler.css@gmail.com>, www-style@w3.org, fantasai <fantasai.lists@inkedblade.net>
Message-id: <4086D418-5FE5-4792-8780-B40EAB6602CD@apple.com>

I was trying to match the spec text at the time.  It seems to make  
sense given the decorative effect that box-shadow is trying to  
achieve.  For example if a box has a partially transparent background,  
I don't think you want to be able to see the box shadow behind that  
background.

dave

On Dec 18, 2007, at 10:47 AM, Brad Kemper wrote:

>
> On Dec 17, 2007, at 4:01 PM, David Hyatt wrote:
>
>>
>> WebKit's implementation does not allow the shadow to draw anywhere  
>> inside the border box.  Effectively it is as though the shadow is  
>> being cast by an opaque solid color pattern with the shape of the  
>> border box.
>>
>> dave
>>
>
> Is that due to an inherent limitation of the way WebKit draws  
> shapes, or is it just the way you decided to implement it?
Received on Tuesday, 18 December 2007 18:55:46 GMT

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