Index: core/svg/SVGPathSegList.idl |
diff --git a/core/svg/SVGPathSegList.idl b/core/svg/SVGPathSegList.idl |
index 5214f9d22916874d86b408c3c9a921d402544b61..5e896e441a754008451e2ac936aa154576599cf2 100644 |
--- a/core/svg/SVGPathSegList.idl |
+++ b/core/svg/SVGPathSegList.idl |
@@ -25,13 +25,17 @@ |
*/ |
[ |
- StrictTypeChecking, |
+ TypeChecking=Interface|Nullable, |
+ SetWrapperReferenceTo(SVGElement contextElement), |
+ ImplementedAs=SVGPathSegListTearOff |
] interface SVGPathSegList { |
- readonly attribute unsigned long numberOfItems; |
+ readonly attribute unsigned long length; |
+ [ImplementedAs=length] readonly attribute unsigned long numberOfItems; |
[RaisesException] void clear(); |
[RaisesException] SVGPathSeg initialize(SVGPathSeg newItem); |
- [RaisesException] SVGPathSeg getItem(unsigned long index); |
+ [RaisesException] getter SVGPathSeg getItem(unsigned long index); |
+ [RaisesException] setter SVGPathSeg (unsigned long index, SVGPathSeg value); |
[RaisesException] SVGPathSeg insertItemBefore(SVGPathSeg newItem, unsigned long index); |
[RaisesException] SVGPathSeg replaceItem(SVGPathSeg newItem, unsigned long index); |
[RaisesException] SVGPathSeg removeItem(unsigned long index); |