Index: Source/core/svg/SVGTransform.idl |
diff --git a/Source/core/svg/SVGTransform.idl b/Source/core/svg/SVGTransform.idl |
index 96c0058dd4cd43a6552aca3f66b811acd53eba71..df311a52e086e9828c1682858402d3ca1ad9978e 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; |
@@ -32,14 +34,14 @@ |
const unsigned short SVG_TRANSFORM_SKEWY = 6; |
readonly attribute unsigned short type; |
- [ImplementedAs=svgMatrix] readonly attribute SVGMatrix matrix; |
+ 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); |
fs
2014/02/17 14:14:31
Same here as for SVGMatrix.{a,b,c,d,e,f} I suppose
kouhei (in TOK)
2014/02/18 02:09:15
Direct translation of the spec:
http://www.w3.org/
|
+ [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); |
}; |