summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGLength.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGLength.idl')
-rw-r--r--WebCore/svg/SVGLength.idl18
1 files changed, 12 insertions, 6 deletions
diff --git a/WebCore/svg/SVGLength.idl b/WebCore/svg/SVGLength.idl
index 166019e..0e6807f 100644
--- a/WebCore/svg/SVGLength.idl
+++ b/WebCore/svg/SVGLength.idl
@@ -37,14 +37,20 @@ module svg {
const unsigned short SVG_LENGTHTYPE_PC = 10;
readonly attribute unsigned short unitType;
- attribute [CustomGetter] float value;
- attribute float valueInSpecifiedUnits;
- attribute [ConvertNullToNullString] DOMString valueAsString;
+ attribute [Custom, StrictTypeChecking] float value
+ setter raises(DOMException),
+ getter raises(DOMException);
- void newValueSpecifiedUnits(in unsigned short unitType,
- in float valueInSpecifiedUnits);
+ attribute [StrictTypeChecking] float valueInSpecifiedUnits;
+ attribute [ConvertNullToNullString, StrictTypeChecking] DOMString valueAsString
+ setter raises(DOMException);
- [Custom] void convertToSpecifiedUnits(in unsigned short unitType);
+ [StrictTypeChecking, RequiresAllArguments=Raise] void newValueSpecifiedUnits(in unsigned short unitType,
+ in float valueInSpecifiedUnits)
+ raises(DOMException);
+
+ [Custom, StrictTypeChecking, RequiresAllArguments=Raise] void convertToSpecifiedUnits(in unsigned short unitType)
+ raises(DOMException);
};
}