summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGTransform.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGTransform.idl')
-rw-r--r--Source/WebCore/svg/SVGTransform.idl18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/WebCore/svg/SVGTransform.idl b/Source/WebCore/svg/SVGTransform.idl
index 525041eb8..119740593 100644
--- a/Source/WebCore/svg/SVGTransform.idl
+++ b/Source/WebCore/svg/SVGTransform.idl
@@ -20,7 +20,7 @@
*/
[
- Conditional=SVG,
+ ConstantsScope=SVGTransformValue
] interface SVGTransform {
// Transform Types
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
@@ -32,14 +32,14 @@
const unsigned short SVG_TRANSFORM_SKEWY = 6;
readonly attribute unsigned short type;
- [ImplementedAs=svgMatrix] readonly attribute SVGMatrix matrix;
- readonly attribute float angle;
+ [NewObject] readonly attribute SVGMatrix matrix;
+ readonly attribute unrestricted float angle;
- [StrictTypeChecking] void setMatrix(SVGMatrix matrix);
- [StrictTypeChecking] void setTranslate(float tx, float ty);
- [StrictTypeChecking] void setScale(float sx, float sy);
- [StrictTypeChecking] void setRotate(float angle, float cx, float cy);
- [StrictTypeChecking] void setSkewX(float angle);
- [StrictTypeChecking] void setSkewY(float angle);
+ [MayThrowException] void setMatrix(SVGMatrix matrix);
+ [MayThrowException] void setTranslate(unrestricted float tx, unrestricted float ty);
+ [MayThrowException] void setScale(unrestricted float sx, unrestricted float sy);
+ [MayThrowException] void setRotate(unrestricted float angle, unrestricted float cx, unrestricted float cy);
+ [MayThrowException] void setSkewX(unrestricted float angle);
+ [MayThrowException] void setSkewY(unrestricted float angle);
};