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

[CSS-3] outline-style: glow

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 14 Apr 2008 16:03:25 -0700
Message-ID: <4803E2BD.1050002@terrainformatica.com>
To: www-style <www-style@w3.org>

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

Meaning of outline-width and outline-offset when outline-style:glow :

Sum of outline-width and outline-offset gives filter radii.
outline-offset determines shape of the filter as presented here:
http://www.terrainformatica.com/w3/outline-glow-filter.png

Due to specifics of outline rendering (it is being drawn on top of 
siblings of the element)
outline is a best place to define and render such effects.

--
Andrew Fedoniouk.
http://terrainformatica.com







 
Received on Monday, 14 April 2008 23:04:20 GMT

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