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

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

Powered by Google App Engine
This is Rietveld 408576698