mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1125647 - mark remaining SVGAnimatedXXX webidl attributes as [Constant]. r=dholbert, sr=bzbarsky
This commit is contained in:
parent
0ac936fa3d
commit
81d32db722
@ -11,7 +11,9 @@
|
||||
*/
|
||||
|
||||
interface SVGClipPathElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration clipPathUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedTransformList transform;
|
||||
};
|
||||
|
||||
|
@ -19,11 +19,18 @@ interface SVGComponentTransferFunctionElement : SVGElement {
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration type;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumberList tableValues;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber slope;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber intercept;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber amplitude;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber exponent;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber offset;
|
||||
};
|
||||
|
@ -15,6 +15,7 @@ interface SVGElement : Element {
|
||||
/* [SetterThrows]
|
||||
attribute DOMString xmlbase; */
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString className;
|
||||
[PutForwards=cssText, Constant]
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
|
@ -30,8 +30,11 @@ interface SVGFEBlendElement : SVGElement {
|
||||
const unsigned short SVG_FEBLEND_MODE_SATURATION = 14;
|
||||
const unsigned short SVG_FEBLEND_MODE_COLOR = 15;
|
||||
const unsigned short SVG_FEBLEND_MODE_LUMINOSITY = 16;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in2;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration mode;
|
||||
};
|
||||
|
||||
|
@ -19,8 +19,11 @@ interface SVGFEColorMatrixElement : SVGElement {
|
||||
const unsigned short SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
|
||||
const unsigned short SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration type;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumberList values;
|
||||
};
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
interface SVGFEComponentTransferElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
};
|
||||
|
||||
|
@ -21,12 +21,19 @@ interface SVGFECompositeElement : SVGElement {
|
||||
const unsigned short SVG_FECOMPOSITE_OPERATOR_XOR = 5;
|
||||
const unsigned short SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in2;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration operator;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber k1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber k2;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber k3;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber k4;
|
||||
};
|
||||
|
||||
|
@ -18,17 +18,29 @@ interface SVGFEConvolveMatrixElement : SVGElement {
|
||||
const unsigned short SVG_EDGEMODE_WRAP = 2;
|
||||
const unsigned short SVG_EDGEMODE_NONE = 3;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedInteger orderX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedInteger orderY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumberList kernelMatrix;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber divisor;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber bias;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedInteger targetX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedInteger targetY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration edgeMode;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedBoolean preserveAlpha;
|
||||
};
|
||||
|
||||
|
@ -11,10 +11,15 @@
|
||||
*/
|
||||
|
||||
interface SVGFEDiffuseLightingElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber surfaceScale;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber diffuseConstant;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
|
@ -19,10 +19,15 @@ interface SVGFEDisplacementMapElement : SVGElement {
|
||||
const unsigned short SVG_CHANNEL_B = 3;
|
||||
const unsigned short SVG_CHANNEL_A = 4;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in2;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber scale;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration xChannelSelector;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration yChannelSelector;
|
||||
};
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
*/
|
||||
|
||||
interface SVGFEDistantLightElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber azimuth;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber elevation;
|
||||
};
|
||||
|
@ -11,10 +11,15 @@
|
||||
*/
|
||||
|
||||
interface SVGFEDropShadowElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber dx;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber dy;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber stdDeviationX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber stdDeviationY;
|
||||
|
||||
void setStdDeviation(float stdDeviationX, float stdDeviationY);
|
||||
|
@ -11,8 +11,11 @@
|
||||
*/
|
||||
|
||||
interface SVGFEGaussianBlurElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber stdDeviationX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber stdDeviationY;
|
||||
|
||||
void setStdDeviation(float stdDeviationX, float stdDeviationY);
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
interface SVGFEImageElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
||||
};
|
||||
|
||||
|
@ -11,5 +11,6 @@
|
||||
*/
|
||||
|
||||
interface SVGFEMergeNodeElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
};
|
||||
|
@ -17,9 +17,13 @@ interface SVGFEMorphologyElement : SVGElement {
|
||||
const unsigned short SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
|
||||
const unsigned short SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration operator;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber radiusX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber radiusY;
|
||||
};
|
||||
|
||||
|
@ -11,8 +11,11 @@
|
||||
*/
|
||||
|
||||
interface SVGFEOffsetElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber dx;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber dy;
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,10 @@
|
||||
*/
|
||||
|
||||
interface SVGFEPointLightElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber z;
|
||||
};
|
||||
|
@ -11,11 +11,17 @@
|
||||
*/
|
||||
|
||||
interface SVGFESpecularLightingElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber surfaceScale;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber specularConstant;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber specularExponent;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
|
@ -11,12 +11,20 @@
|
||||
*/
|
||||
|
||||
interface SVGFESpotLightElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber z;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber pointsAtX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber pointsAtY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber pointsAtZ;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber specularExponent;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber limitingConeAngle;
|
||||
};
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
interface SVGFETileElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString in1;
|
||||
};
|
||||
|
||||
|
@ -22,11 +22,17 @@ interface SVGFETurbulenceElement : SVGElement {
|
||||
const unsigned short SVG_STITCHTYPE_STITCH = 1;
|
||||
const unsigned short SVG_STITCHTYPE_NOSTITCH = 2;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber baseFrequencyX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber baseFrequencyY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedInteger numOctaves;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber seed;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration stitchTiles;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration type;
|
||||
};
|
||||
|
||||
|
@ -11,11 +11,17 @@
|
||||
*/
|
||||
|
||||
interface SVGFilterElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration filterUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration primitiveUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength width;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength height;
|
||||
|
||||
// ImageData apply(ImageData source);
|
||||
|
@ -12,9 +12,14 @@
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface SVGFilterPrimitiveStandardAttributes {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength width;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength height;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString result;
|
||||
};
|
||||
|
@ -18,8 +18,11 @@ interface SVGGradientElement : SVGElement {
|
||||
const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
|
||||
const unsigned short SVG_SPREADMETHOD_REPEAT = 3;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration gradientUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedTransformList gradientTransform;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration spreadMethod;
|
||||
};
|
||||
|
||||
|
@ -11,8 +11,12 @@
|
||||
*/
|
||||
|
||||
interface SVGLinearGradientElement : SVGGradientElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y1;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x2;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y2;
|
||||
};
|
||||
|
@ -22,12 +22,19 @@ interface SVGMarkerElement : SVGElement {
|
||||
const unsigned short SVG_MARKER_ORIENT_AUTO = 1;
|
||||
const unsigned short SVG_MARKER_ORIENT_ANGLE = 2;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength refX;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength refY;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration markerUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength markerWidth;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength markerHeight;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration orientType;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedAngle orientAngle;
|
||||
|
||||
void setOrientToAuto();
|
||||
|
@ -16,11 +16,17 @@ interface SVGMaskElement : SVGElement {
|
||||
const unsigned short SVG_MASKTYPE_LUMINANCE = 0;
|
||||
const unsigned short SVG_MASKTYPE_ALPHA = 1;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration maskUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration maskContentUnits;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength width;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength height;
|
||||
};
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
interface SVGPathElement : SVGGraphicsElement {
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber pathLength;
|
||||
|
||||
float getTotalLength();
|
||||
|
@ -11,10 +11,15 @@
|
||||
*/
|
||||
|
||||
interface SVGRadialGradientElement : SVGGradientElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength cx;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength cy;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength r;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength fx;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength fy;
|
||||
// readonly attribute SVGAnimatedLength fr;
|
||||
};
|
||||
|
@ -14,9 +14,13 @@ interface SVGViewSpec;
|
||||
|
||||
interface SVGSVGElement : SVGGraphicsElement {
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength width;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength height;
|
||||
// readonly attribute SVGRect viewport;
|
||||
[Constant]
|
||||
|
@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
interface SVGStopElement : SVGElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumber offset;
|
||||
};
|
||||
|
||||
|
@ -17,7 +17,9 @@ interface SVGTextContentElement : SVGGraphicsElement {
|
||||
const unsigned short LENGTHADJUST_SPACING = 1;
|
||||
const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength textLength;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration lengthAdjust;
|
||||
|
||||
long getNumberOfChars();
|
||||
|
@ -22,8 +22,11 @@ interface SVGTextPathElement : SVGTextContentElement {
|
||||
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
||||
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
||||
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLength startOffset;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration method;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedEnumeration spacing;
|
||||
};
|
||||
|
||||
|
@ -11,10 +11,15 @@
|
||||
*/
|
||||
|
||||
interface SVGTextPositioningElement : SVGTextContentElement {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLengthList x;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLengthList y;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLengthList dx;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedLengthList dy;
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedNumberList rotate;
|
||||
};
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface SVGURIReference {
|
||||
[Constant]
|
||||
readonly attribute SVGAnimatedString href;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user