Missing setters in feConvolveMatrix filter

Hi!

I've found a point in SVG Specification that seems a bit weird to me.
Correct me if I'm wrong but I think the tradition for changing the value
of SVG attributes is the following: for two dimensional attributes there
is a setter method which makes possible to change their value from SVGDOM.
For example feGaussainBlur's stdDeviation attribute. Here you can see
its idl:

interface SVGFEGaussianBlurElement : SVGElement,
                                     SVGFilterPrimitiveStandardAttributes {

  readonly attribute SVGAnimatedString in1;
  readonly attribute SVGAnimatedNumber stdDeviationX;
  readonly attribute SVGAnimatedNumber stdDeviationY;

  void setStdDeviation(in float stdDeviationX, in float stdDeviationY)
raises(DOMException);
};


But getting feConvolveMatrix filter's order or kernelUnitLength attributes
- which both have two dimensions - we don't have similar setter
methods. Its interface:

interface SVGFEConvolveMatrixElement : SVGElement,
                                       SVGFilterPrimitiveStandardAttributes {

  // Edge Mode Values
  const unsigned short SVG_EDGEMODE_UNKNOWN = 0;
  const unsigned short SVG_EDGEMODE_DUPLICATE = 1;
  const unsigned short SVG_EDGEMODE_WRAP = 2;
  const unsigned short SVG_EDGEMODE_NONE = 3;

  readonly attribute SVGAnimatedString in1;
  readonly attribute SVGAnimatedInteger orderX;
  readonly attribute SVGAnimatedInteger orderY;
  readonly attribute SVGAnimatedNumberList kernelMatrix;
  readonly attribute SVGAnimatedNumber divisor;
  readonly attribute SVGAnimatedNumber bias;
  readonly attribute SVGAnimatedInteger targetX;
  readonly attribute SVGAnimatedInteger targetY;
  readonly attribute SVGAnimatedEnumeration edgeMode;
  readonly attribute SVGAnimatedNumber kernelUnitLengthX;
  readonly attribute SVGAnimatedNumber kernelUnitLengthY;
  readonly attribute SVGAnimatedBoolean preserveAlpha;
};

It seems inconsistent to me.
Would it be possible to update this part of specification similar to the
other filters?

Thanks in advance,
Reni

Received on Friday, 15 October 2010 16:58:02 UTC