W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2011

Re: feDropShadow and alternatives

From: Simon Fraser <smfr@me.com>
Date: Tue, 11 Jan 2011 10:55:47 -0800
Cc: Dirk Schulze <vbs85@gmx.de>, Erik Dahlstrom <ed@opera.com>, public-fx@w3.org
Message-id: <F38A7997-17C7-4BC6-9C99-A487137F2497@me.com>
To: Brad Kemper <brad.kemper@gmail.com>
On Jan 11, 2011, at 10:32 AM, Brad Kemper wrote:

> On Jan 11, 2011, at 9:39 AM, Simon Fraser wrote:
>> On Jan 11, 2011, at 9:25 AM, Dirk Schulze wrote:
>>>> Have you considered proposing that syntax as an extension of the 'filter' property instead? E.g filter: [<url> | <drop-shadow-shorthand>]
>>> Sorry, don't know what you mean. Do you mean a syntax how you can see it in the CSS spec?
>> I think there's clear value in having a canned "drop-shadow" filter in CSS, which is different from box-shadow in that it doesn't clip out the contents of the box.
>> Whether this is implemented on top of SVG filters or not is a choice for the implementor.
> Depends on what you mean by "canned", I suppose. I had imagined that there would be some canned SVG to use as templates, but that anyone could write their own filters to use as templates and then call them in a standard way (see my new thread from a couple minutes ago). This would not, then, require a new property name for each filter that you might want to have varying values for, and the author could write such filters-as-templates.

By "canned" I mean simple filters that authors can use without any knowledge of SVG. For example:
filter: blur(10px);

UAs should be free to implement these however they please (which may or may not involve SVG).

What you're proposing is really just Robert's proposal for SVG filters in CSS.


Received on Tuesday, 11 January 2011 18:56:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:37 UTC