Index: core/svg/SVGPointList.idl |
diff --git a/core/svg/SVGPointList.idl b/core/svg/SVGPointList.idl |
index 7bf20b53f7e09c64bf66aa4b1550becf14e58a58..e2dbb1526ea15a77d238f9d22b665846767958ba 100644 |
--- a/core/svg/SVGPointList.idl |
+++ b/core/svg/SVGPointList.idl |
@@ -23,20 +23,26 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://www.w3.org/TR/SVG2/coords.html#InterfaceSVGPointList |
+ |
[ |
ImplementedAs=SVGPointListTearOff, |
SetWrapperReferenceTo(SVGElement contextElement), |
TypeChecking=Interface, |
+ RuntimeEnabled=SVG1DOM, |
+ MeasureAs=SVG1DOM, |
+ WillBeGarbageCollected, |
] interface SVGPointList { |
readonly attribute unsigned long length; |
[ImplementedAs=length] readonly attribute unsigned long numberOfItems; |
[RaisesException] void clear(); |
- [RaisesException] SVGPoint initialize(SVGPoint item); |
+ // TODO(philipj): SVGPoint should be DOMPoint. |
+ [RaisesException] SVGPoint initialize(SVGPoint newItem); |
[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 insertItemBefore(SVGPoint newItem, unsigned long index); |
+ [RaisesException] SVGPoint replaceItem(SVGPoint newItem, unsigned long index); |
[RaisesException] SVGPoint removeItem(unsigned long index); |
- [RaisesException] SVGPoint appendItem(SVGPoint item); |
+ [RaisesException] SVGPoint appendItem(SVGPoint newItem); |
+ [RaisesException] setter void (unsigned long index, SVGPoint newItem); |
}; |