Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1416)

Unified Diff: Source/core/svg/SVGStringList.idl

Issue 195313003: [SVG2] Add getters and setters to SVG*List interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s/slength/size Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGStringList.h ('k') | Source/core/svg/SVGStringListTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStringList.idl
diff --git a/Source/core/svg/SVGStringList.idl b/Source/core/svg/SVGStringList.idl
index 0b5dc4120de393bb7e39bc539f7cf6c5bd2a903d..dce367c499c2338d65a71d57c19b124df3233cfe 100644
--- a/Source/core/svg/SVGStringList.idl
+++ b/Source/core/svg/SVGStringList.idl
@@ -28,11 +28,13 @@
SetWrapperReferenceTo(SVGElement contextElement),
ImplementedAs=SVGStringListTearOff
] interface SVGStringList {
- readonly attribute unsigned long numberOfItems;
+ readonly attribute unsigned long length;
+ [ImplementedAs=length] readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
[RaisesException] DOMString initialize(DOMString item);
- [RaisesException] DOMString getItem(unsigned long index);
+ [RaisesException] getter DOMString getItem(unsigned long index);
+ [RaisesException] setter DOMString (unsigned long index, DOMString value);
[RaisesException] DOMString insertItemBefore(DOMString item, unsigned long index);
[RaisesException] DOMString replaceItem(DOMString item, unsigned long index);
[RaisesException] DOMString removeItem(unsigned long index);
« no previous file with comments | « Source/core/svg/SVGStringList.h ('k') | Source/core/svg/SVGStringListTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698