Index: core/svg/SVGFEConvolveMatrixElement.idl |
diff --git a/core/svg/SVGFEConvolveMatrixElement.idl b/core/svg/SVGFEConvolveMatrixElement.idl |
index ea35c38eba496f30ed2170815981d19a858a4d7b..a1db16d26d07c2bfced059b6280ea5301d7d6225 100644 |
--- a/core/svg/SVGFEConvolveMatrixElement.idl |
+++ b/core/svg/SVGFEConvolveMatrixElement.idl |
@@ -23,30 +23,33 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://www.w3.org/TR/SVG11/filters.html#InterfaceSVGFEConvolveMatrixElement |
// http://www.w3.org/TR/filter-effects/#InterfaceSVGFEConvolveMatrixElement |
[ |
DoNotCheckConstants, |
] interface SVGFEConvolveMatrixElement : SVGElement { |
// 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; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_EDGEMODE_UNKNOWN = 0; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_EDGEMODE_DUPLICATE = 1; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_EDGEMODE_WRAP = 2; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] 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; // in SVG 1.1, removed in SVG 2 |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedString in1; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedInteger orderX; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedInteger orderY; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumberList kernelMatrix; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumber divisor; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumber bias; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedInteger targetX; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedInteger targetY; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedEnumeration edgeMode; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumber kernelUnitLengthX; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedNumber kernelUnitLengthY; |
+ |
+ // TODO(philipj): The following was part of SVG 1.1: |
+ // http://www.w3.org/TR/SVG11/filters.html#InterfaceSVGFEConvolveMatrixElement |
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28703 |
+ [RuntimeEnabled=SVG1DOM, Measure] readonly attribute SVGAnimatedBoolean preserveAlpha; |
}; |
SVGFEConvolveMatrixElement implements SVGFilterPrimitiveStandardAttributes; |