Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGLengthList.idl
index eb9e607..b07416c 100644 (file)
 [
     ImplementedAs=SVGLengthListTearOff,
     SetWrapperReferenceTo(SVGElement contextElement),
-    StrictTypeChecking,
+    TypeChecking=Interface,
 ] interface SVGLengthList {
-    readonly attribute unsigned long numberOfItems;
+    readonly attribute unsigned long length;
+    [ImplementedAs=length] readonly attribute unsigned long numberOfItems;
 
     [RaisesException] void clear();
     [RaisesException] SVGLength initialize(SVGLength item);
-    [RaisesException] SVGLength getItem(unsigned long index);
+    [RaisesException] getter SVGLength getItem(unsigned long index);
+    [RaisesException] setter SVGLength (unsigned long index, SVGLength value);
     [RaisesException] SVGLength insertItemBefore(SVGLength item, unsigned long index);
     [RaisesException] SVGLength replaceItem(SVGLength item, unsigned long index);
     [RaisesException] SVGLength removeItem(unsigned long index);