On Wed, 6 Feb 2008 16:37:14 -0400, "bulia byak" <buliabyak@...400...> wrote:
As I said in that bug, I more like the idea of it adding a blur on top of the current stack, or adjust one if it exists - that was my thinking from the very beginning. Is this too difficult to implement?
The only problem is what we do if multiple objects are sharing an SVG filter -- do we make a private clone of the filter like we do for gradients when adjusting transforms? (since object blurs should presumably be adjustable independently)
Second is a problem I fully realized only today: there's no user interface for setting enable-background property. Without this, the only working input images are Source Graphic and Source Alpha. Background Image and Background Alpha only contain data, when there's property 'enable-background:new' set on some parent object of the filtered object. Without this, they will just appear to not work.
Will it break things too much if we just always add this attribute to root svg?
We enable it at the expense of rendering performance; it is probably best to enable it only when it is needed (which is done in the blend mode code at least).
-mental