Index: Source/core/svg/SVGLength.idl |
diff --git a/Source/core/svg/SVGLength.idl b/Source/core/svg/SVGLength.idl |
index 9e01fd4dbadab3ce5445dfe6dfaf25b503710c74..52e2daafd47f846a72010b751e74a3cef7af6d58 100644 |
--- a/Source/core/svg/SVGLength.idl |
+++ b/Source/core/svg/SVGLength.idl |
@@ -20,6 +20,9 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
+// http://www.w3.org/TR/SVG2/types.html#InterfaceSVGLength |
+ |
+// TODO(philipj): SVGLength should have constructors. crbug.com/366541 |
[ |
ImplementedAs=SVGLengthTearOff, |
SetWrapperReferenceTo(SVGElement contextElement), |
@@ -43,11 +46,10 @@ |
readonly attribute unsigned short unitType; |
[RaisesException] attribute float value; |
- |
[RaisesException=Setter] attribute float valueInSpecifiedUnits; |
+ // TODO(philipj): valueAsString should not have [TreatNullAs=NullString]. |
[TreatNullAs=NullString, RaisesException=Setter] attribute DOMString valueAsString; |
[RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits); |
- |
[RaisesException] void convertToSpecifiedUnits(unsigned short unitType); |
}; |