Chromium Code Reviews

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

Issue 159973005: Add tests for |undefined| and |null| in SVG interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweak Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « LayoutTests/svg/dom/undefined-null-expected.txt ('k') | Source/core/svg/SVGTextContentElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSVGElement.idl
diff --git a/Source/core/svg/SVGSVGElement.idl b/Source/core/svg/SVGSVGElement.idl
index 69fa16b5f3809125b9cb72348de985bc917995bd..a5fe85dd4c95f29f7d8f9afdc88507b59cc98979 100644
--- a/Source/core/svg/SVGSVGElement.idl
+++ b/Source/core/svg/SVGSVGElement.idl
@@ -67,6 +67,10 @@
SVGMatrix createSVGMatrix();
SVGRect createSVGRect();
SVGTransform createSVGTransform();
+ // FIXME: want to turn on [StrictTypeChecking] for interface, but causes
+ // createSVGTransformFromMatrix to fail.
+ // FIXME: Also, the definition doesn't make sense: [Default=Undefined]
+ // requires that the parameter be nullable!
SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMatrix matrix);
Element getElementById([Default=Undefined] optional DOMString elementId);
};
« no previous file with comments | « LayoutTests/svg/dom/undefined-null-expected.txt ('k') | Source/core/svg/SVGTextContentElement.idl » ('j') | no next file with comments »

Powered by Google App Engine