Index: Source/core/svg/SVGTransform.idl |
diff --git a/Source/core/svg/SVGTransform.idl b/Source/core/svg/SVGTransform.idl |
index 96c0058dd4cd43a6552aca3f66b811acd53eba71..cf9cc122f1f53c3bec1717381e0a4bcbd2843d09 100644 |
--- a/Source/core/svg/SVGTransform.idl |
+++ b/Source/core/svg/SVGTransform.idl |
@@ -21,6 +21,8 @@ |
[ |
StrictTypeChecking, |
+ ImplementedAs=SVGTransformTearOff, |
+ SetWrapperReferenceTo(SVGElement contextElement), |
] interface SVGTransform { |
// Transform Types |
const unsigned short SVG_TRANSFORM_UNKNOWN = 0; |
@@ -31,15 +33,15 @@ |
const unsigned short SVG_TRANSFORM_SKEWX = 5; |
const unsigned short SVG_TRANSFORM_SKEWY = 6; |
- readonly attribute unsigned short type; |
- [ImplementedAs=svgMatrix] readonly attribute SVGMatrix matrix; |
+ [ImplementedAs=transformType] readonly attribute unsigned short type; |
+ readonly attribute SVGMatrix matrix; |
readonly attribute float angle; |
- void setMatrix(SVGMatrix matrix); |
- void setTranslate(float tx, float ty); |
- void setScale(float sx, float sy); |
- void setRotate(float angle, float cx, float cy); |
- void setSkewX(float angle); |
- void setSkewY(float angle); |
+ [RaisesException] void setMatrix(SVGMatrix matrix); |
+ [RaisesException] void setTranslate(float tx, float ty); |
+ [RaisesException] void setScale(float sx, float sy); |
+ [RaisesException] void setRotate(float angle, float cx, float cy); |
+ [RaisesException] void setSkewX(float angle); |
+ [RaisesException] void setSkewY(float angle); |
}; |