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

Re: [CSS-3] outline-style: glow

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Tue, 15 Apr 2008 10:07:44 -0700
Message-ID: <4804E0E0.5070902@terrainformatica.com>
To: Bert Bos <bert@w3.org>
CC: www-style <www-style@w3.org>

Bert Bos wrote:
> On Tuesday 15 April 2008 01:03, Andrew Fedoniouk wrote:
>> I propose to add new value of 'glow' to the list of outline-style
>> values.
>>
>> Glow is an outline where color intensity (opacity of outline-color)
>> is a function of distance.
>> Usually glow is made by applying Gaussian 2d filter to pixels of some
>> image.
>>
>> Here is a sample of rendering elements with outline-style:glow;
>> http://www.terrainformatica.com/w3/outline-glow-sample.png
> 
> The Backgrounds and Borders draft[1] has a 'box-shadow' property, which 
> can create similar effects. It's subject to 'z-index' and drawn in a 
> layer of the element behind the background. That means that there is 
> some control over its stacking; unlike 'outline', which is always in 
> front.
> 
> The draft doesn't say how the intensity of the shadow relates to the 
> offset.
> 
> [1] 
> http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-box-shadow
> 
> 
> 

Please take a look here:
http://www.terrainformatica.com/htmlayout/images/outline-glow.png

What styles exactly are needed in your case to show something like 
central <img> on the screenshot?

It was rendered by using outline:glow.

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Tuesday, 15 April 2008 17:15:22 GMT

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