summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl14
1 files changed, 9 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl b/chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl
index 665f6ead7fc..f4b306a5244 100644
--- a/chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl
+++ b/chromium/third_party/WebKit/Source/core/svg/SVGAngle.idl
@@ -20,7 +20,11 @@
* Boston, MA 02110-1301, USA.
*/
-interface SVGAngle {
+[
+ ImplementedAs=SVGAngleTearOff,
+ SetWrapperReferenceTo(SVGElement contextElement),
+ TypeChecking=Interface|Nullable,
+] interface SVGAngle {
// Angle Unit Types
const unsigned short SVG_ANGLETYPE_UNKNOWN = 0;
const unsigned short SVG_ANGLETYPE_UNSPECIFIED = 1;
@@ -29,13 +33,13 @@ interface SVGAngle {
const unsigned short SVG_ANGLETYPE_GRAD = 4;
readonly attribute unsigned short unitType;
- [StrictTypeChecking] attribute float value;
- [StrictTypeChecking] attribute float valueInSpecifiedUnits;
+ [RaisesException=Setter] attribute float value;
+ [RaisesException=Setter] attribute float valueInSpecifiedUnits;
[TreatNullAs=NullString, RaisesException=Setter] attribute DOMString valueAsString;
- [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
+ [RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
- [StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
+ [RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
};