Index: Source/core/svg/SVGPathSegList.idl |
diff --git a/Source/core/svg/SVGPathSegList.idl b/Source/core/svg/SVGPathSegList.idl |
index 90abd237379b12630068f63ad4ea339973466258..0d6a66f3a4e0b3758f123471b1d72d7de73a251c 100644 |
--- a/Source/core/svg/SVGPathSegList.idl |
+++ b/Source/core/svg/SVGPathSegList.idl |
@@ -29,11 +29,13 @@ |
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); |