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

Re: box-shadow and features

From: Brad Kemper <brkemper@comcast.net>
Date: Thu, 15 May 2008 19:45:12 -0700
Cc: www-style list <www-style@w3.org>
Message-Id: <60553F5E-01F7-4AC1-982D-92847DE4E192@comcast.net>
To: Alan Gresley <alan@css-class.com>

On May 15, 2008, at 5:57 PM, Alan Gresley wrote:

>> Issue 32 refers to outer shadows (like with the current box-shadow  
>> or text-shadow), and whether or not the part covered by the glyph  
>> or box is drawn or not. With inner shadows, the shadow is not  
>> covered by the glyph or box.
>
>
> Issue 32 is about box-shadow which it reads.
>
> Resolve: Box-shadows are only drawn outside the element's border-box.

Fine. I will revise my statement then: Issue 32 refers to outer  
shadows (like with the current box-shadow draft), and whether or not  
the part covered by the box is drawn or not. With inner shadows, the  
shadow is not covered by the box.

> Inner Box Shadow:
> http://www.w3.org/Style/CSS/Tracker/issues/44 ISSUE-44
> There have been quite a few comments about adding such a feature,
> or at least an "inner glow" feature (which this would address).


I really don't think that issue 44 is suggesting that an Inner Box  
shadow should be drawn outside of the box. That just wouldn't make  
sense. Therefore, issue 32 is only about "outer" shadows, as they  
currently exist in the spec. I take "drawn outside the element's  
border-box" to mean that it doesn't matter if the inside of the box is  
transparent or only partially opaque, because the (outer) shadows will  
not be drawn there.

> You keep on intermingling box-shadow with text-shadow.

As for text shadows, I quite clearly know which one I am talking  
about, and I often mention them together because the issues that have  
to do with one are very often relevant to the other. I am not that  
easily confused by having them mentioned together, but I will try to  
just talk about one at a time if you think that will help.
Received on Friday, 16 May 2008 03:00:49 GMT

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