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

Unified Diff: Source/core/svg/SVGLengthList.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/SVGLengthList.cpp ('k') | Source/core/svg/SVGNumberList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLengthList.idl
diff --git a/Source/core/svg/SVGLengthList.idl b/Source/core/svg/SVGLengthList.idl
index eb9e60743d58581e77bbf0fd260baee4a5d54525..9cb7d314b21c06ab779e19b95406865da2bcdf6e 100644
--- a/Source/core/svg/SVGLengthList.idl
+++ b/Source/core/svg/SVGLengthList.idl
@@ -29,11 +29,13 @@
SetWrapperReferenceTo(SVGElement contextElement),
StrictTypeChecking,
] 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);
« no previous file with comments | « Source/core/svg/SVGLengthList.cpp ('k') | Source/core/svg/SVGNumberList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698