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

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

Issue 1153763008: Sync SVG interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address feedback 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
« no previous file with comments | « Source/core/svg/SVGImageElement.idl ('k') | Source/core/svg/SVGLengthList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « Source/core/svg/SVGImageElement.idl ('k') | Source/core/svg/SVGLengthList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698