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

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

Powered by Google App Engine
This is Rietveld 408576698