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

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

Issue 1153763008: Sync SVG interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: all done Created 5 years, 7 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
Index: Source/core/svg/SVGTransformList.idl
diff --git a/Source/core/svg/SVGTransformList.idl b/Source/core/svg/SVGTransformList.idl
index 9b57d613cfc026c1a7a6da53f86592100e59d1fb..6f6451e857444efb6886f5cb05f3c2b6538a7950 100644
--- a/Source/core/svg/SVGTransformList.idl
+++ b/Source/core/svg/SVGTransformList.idl
@@ -24,6 +24,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/SVG2/coords.html#InterfaceSVGTransformList
+
[
ImplementedAs=SVGTransformListTearOff,
SetWrapperReferenceTo(SVGElement contextElement),
@@ -36,15 +38,14 @@
[ImplementedAs=length] readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
- [RaisesException] SVGTransform initialize(SVGTransform item);
+ [RaisesException] SVGTransform initialize(SVGTransform newItem);
[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 insertItemBefore(SVGTransform newItem, unsigned long index);
+ [RaisesException] SVGTransform replaceItem(SVGTransform newItem, unsigned long index);
[RaisesException] SVGTransform removeItem(unsigned long index);
- [RaisesException] SVGTransform appendItem(SVGTransform item);
-
+ [RaisesException] SVGTransform appendItem(SVGTransform newItem);
+ // TODO(philipj): SVGMatrix should be DOMMatrix.
SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
-
- [RaisesException, MeasureAs=SVGTransformListConsolidate] SVGTransform consolidate();
+ [RaisesException, MeasureAs=SVGTransformListConsolidate] SVGTransform? consolidate();
+ [RaisesException] setter void (unsigned long index, SVGTransform newItem);
};

Powered by Google App Engine
This is Rietveld 408576698