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

Re: [filter-effects] feGaussianBlur and stdDeviation = "0"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 26 Feb 2013 10:25:47 -0800
Message-ID: <CAAWBYDBqgWxmzitjbPNfAaksDSxcG37ttr90pdYegbD3+55mYQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>
On Tue, Feb 26, 2013 at 9:13 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> Hi FXTF,
>
> I would like to change the behavior of feGaussianBlur filter primitive if stdDeviationX = stdDeviationY = 0. If both radii are 0, UAs must handle the filter as error and refuse drawing. This seems to be the behavior on all browsers at the moment.
>
> For authors it often makes more sense if feGaussianBlur just returns its input - unmodified. Note that this is the case for the shorthand filter functions already (blur() and drop-shadow()).
>
> This affects feDropShadow as well - a shorthand for different filter primates including feGaussianBlur. It is not possible to draw a non-blurred drop shadow without this change.
>
> If there is no objection then I modify the spec.

This sounds like a silly restriction, and your change is completely
reasonable.  As long as no other impls object, I definitely support
this.

~TJ
Received on Tuesday, 26 February 2013 18:26:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 February 2013 18:26:34 GMT