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

Unified Diff: Source/core/svg/SVGNumberList.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/SVGNumberList.cpp ('k') | Source/core/svg/SVGPathSegList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGNumberList.idl
diff --git a/Source/core/svg/SVGNumberList.idl b/Source/core/svg/SVGNumberList.idl
index 1bc3a5b70c193b8b849d12eccc39599cce86e1c4..818fe6935f66df87898ac36c99418eff1b7e04c3 100644
--- a/Source/core/svg/SVGNumberList.idl
+++ b/Source/core/svg/SVGNumberList.idl
@@ -29,11 +29,13 @@
SetWrapperReferenceTo(SVGElement contextElement),
StrictTypeChecking,
] interface SVGNumberList {
- readonly attribute unsigned long numberOfItems;
+ readonly attribute unsigned long length;
+ [ImplementedAs=length] readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
[RaisesException] SVGNumber initialize(SVGNumber item);
- [RaisesException] SVGNumber getItem(unsigned long index);
+ [RaisesException] getter SVGNumber getItem(unsigned long index);
+ [RaisesException] setter SVGNumber (unsigned long index, SVGNumber value);
[RaisesException] SVGNumber insertItemBefore(SVGNumber item, unsigned long index);
[RaisesException] SVGNumber replaceItem(SVGNumber item, unsigned long index);
[RaisesException] SVGNumber removeItem(unsigned long index);
« no previous file with comments | « Source/core/svg/SVGNumberList.cpp ('k') | Source/core/svg/SVGPathSegList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698