Index: core/svg/SVGTransform.idl |
diff --git a/core/svg/SVGTransform.idl b/core/svg/SVGTransform.idl |
index 96c0058dd4cd43a6552aca3f66b811acd53eba71..d810948599cbdf40b4655a564907eb91941d031a 100644 |
--- a/core/svg/SVGTransform.idl |
+++ b/core/svg/SVGTransform.idl |
@@ -20,7 +20,9 @@ |
*/ |
[ |
- StrictTypeChecking, |
+ TypeChecking=Interface|Nullable, |
+ 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); |
}; |