Index: core/svg/SVGRect.idl |
diff --git a/core/svg/SVGRect.idl b/core/svg/SVGRect.idl |
index f602ce1ab915a803fb2c1a1b1fd77ecb99667210..3ab6c6a19246a3425817d40c19d2d1a67a84ca78 100644 |
--- a/core/svg/SVGRect.idl |
+++ b/core/svg/SVGRect.idl |
@@ -20,13 +20,17 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
+// http://www.w3.org/TR/SVG11/types.html#InterfaceSVGRect |
+ |
+// TODO(philipj): SVGRect is gone from SVG 2, replaced by DOMRect. |
[ |
ImplementedAs=SVGRectTearOff, |
SetWrapperReferenceTo(SVGElement contextElement), |
TypeChecking=Interface, |
+ WillBeGarbageCollected, |
] interface SVGRect { |
- [RaisesException=Setter] attribute float x; |
- [RaisesException=Setter] attribute float y; |
- [RaisesException=Setter] attribute float width; |
- [RaisesException=Setter] attribute float height; |
+ [RaisesException=Setter] attribute unrestricted float x; |
+ [RaisesException=Setter] attribute unrestricted float y; |
+ [RaisesException=Setter] attribute unrestricted float width; |
+ [RaisesException=Setter] attribute unrestricted float height; |
}; |