[SVG1.1] Contracting IDL definitions

The two IDLs available from http://www.w3.org/TR/SVG11/idl.html
(zipped .idl file and inline idl) do not agree with one another.

Example: SVGFEDiffuseLightingElement
=========================

svg.idl:

  interface SVGFEDiffuseLightingElement :
                SVGElement,
                SVGFilterPrimitiveStandardAttributes {

    readonly attribute SVGAnimatedString in1;
    readonly attribute SVGAnimatedNumber surfaceScale;
    readonly attribute SVGAnimatedNumber diffuseConstant;
  };

idl.html:

  interface SVGFEDiffuseLightingElement :
                SVGElement,
                SVGFilterPrimitiveStandardAttributes {
    readonly attribute SVGAnimatedString in1;
    readonly attribute SVGAnimatedNumber surfaceScale;
    readonly attribute SVGAnimatedNumber diffuseConstant;
    readonly attribute SVGAnimatedNumber kernelUnitLengthX;
    readonly attribute SVGAnimatedNumber kernelUnitLengthY;
  };

Notice the kernelUnitLength* properties are in one, not in the other.

Example: SVGFEConvolveMatrixElement

svg.idl:

  interface SVGFEConvolveMatrixElement :
....
    readonly attribute SVGAnimatedLength      kernelUnitLengthX;
    readonly attribute SVGAnimatedLength      kernelUnitLengthY;
....

idl.html:

  interface SVGFEConvolveMatrixElement :
....
    readonly attribute SVGAnimatedNumber      kernelUnitLengthX;
    readonly attribute SVGAnimatedNumber      kernelUnitLengthY;
....

Notice the different types for kernelUnitLength*.

Received on Thursday, 31 May 2007 23:41:47 UTC