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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 26 Feb 2013 09:13:54 -0800
To: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <9B8DE772-145E-45F0-BAD9-E8587B0ABD90@adobe.com>

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.

Received on Tuesday, 26 February 2013 17:14:28 UTC

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