W3C home > Mailing lists > Public > www-svg@w3.org > May 2007

[SVG1.1] Contracting IDL definitions

From: Tim Rowley <tor@acm.org>
Date: Thu, 31 May 2007 16:43:51 -0500
Message-ID: <a9b7270d0705311443w57ba47a2mb9613c27fb5ed460@mail.gmail.com>
To: www-svg@w3.org

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:36 GMT