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

Unified Diff: core/svg/SVGLength.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/svg/SVGImageElement.idl ('k') | core/svg/SVGLengthList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/svg/SVGLength.idl
diff --git a/core/svg/SVGLength.idl b/core/svg/SVGLength.idl
index 48e5a1f4a7823b19f62a66840e5e01023a67b409..52e2daafd47f846a72010b751e74a3cef7af6d58 100644
--- a/core/svg/SVGLength.idl
+++ b/core/svg/SVGLength.idl
@@ -20,10 +20,16 @@
* 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),
TypeChecking=Interface,
+ MeasureAs=SVG1DOM,
+ RuntimeEnabled=SVG1DOM,
+ WillBeGarbageCollected,
] interface SVGLength {
// Length Unit Types
const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
@@ -40,12 +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 | « core/svg/SVGImageElement.idl ('k') | core/svg/SVGLengthList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698