Index: core/svg/SVGTransformList.idl |
diff --git a/core/svg/SVGTransformList.idl b/core/svg/SVGTransformList.idl |
index 95663fc90d172c7ce3859f4467d1a06749c382cf..6f6451e857444efb6886f5cb05f3c2b6538a7950 100644 |
--- a/core/svg/SVGTransformList.idl |
+++ b/core/svg/SVGTransformList.idl |
@@ -24,24 +24,28 @@ |
* 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), |
TypeChecking=Interface, |
+ RuntimeEnabled=SVG1DOM, |
+ MeasureAs=SVG1DOM, |
+ WillBeGarbageCollected, |
] interface SVGTransformList { |
readonly attribute unsigned long length; |
[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] SVGTransform consolidate(); |
+ [RaisesException, MeasureAs=SVGTransformListConsolidate] SVGTransform? consolidate(); |
+ [RaisesException] setter void (unsigned long index, SVGTransform newItem); |
}; |