- From: Chris Lilley <chris@w3.org>
- Date: Tue, 02 Oct 2001 20:58:17 +0200
- To: Etan Wexler <ewexler@stickdog.com>
- CC: Web style list <www-style@w3.org>
Etan Wexler wrote: > > Bert Bos wrote: > > > Bjoern Hoehrmann writes: > > > >> The box-shadow property > >> > >> Name: box-shadow > >> Value: none | [ <length> <length> <color>? ] > >> Initial: none > >> Applies to: all block-level elements > >> Inheritet: no > >> Percentages: N/A > >> Media: visual > >> Computed value: specified value (except for 'inherit') > > > > I like it and I'll propose it to the CSS WG ... > > I suggest that we add an optional blur radius component and the > possibility of multiple shadows, as with 'text-shadow': > > Value: none | <shadow> [ , <shadow> ]* > > where <shadow> is > [ <length> <length> <length>? <color>? | > <color> <length> <length> <length>? ] > > If the box-shadow color is left unspecified, should it take the > computed value of the element's 'color' property? I suggest that the existing 'filter' property from the SVG 1.0 Recommendation can already do the box shadow, the blurred drop shadow, the multiple colored blured drop shadow, the text shadow, and so forth plus many, many other things without coming up with a keyword or property for each canned effect. It is significantly more configurable than the methods proposed here, and also is very well documented in terms of precise, interoperable rendering and already implemented several times. 'filter' Value: <uri> | none | inherit Initial: none Applies to: container elements and graphics elements Inherited: no Percentages: N/A Media: visual Animatable: yes http://www.w3.org/TR/SVG/propidx.html http://www.w3.org/TR/SVG/filters#FilterProperty http://www.w3.org/TR/SVG/filters.html#feGaussianBlur -- Chris
Received on Tuesday, 2 October 2001 14:58:25 UTC