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

Unified Diff: client/html/src/SVGSVGElementWrappingImplementation.dart

Issue 8965006: Support SVGElement#elements, #innerHTML, and #outerHTML. Also add a .svg constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 9 years 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
Index: client/html/src/SVGSVGElementWrappingImplementation.dart
diff --git a/client/html/src/SVGSVGElementWrappingImplementation.dart b/client/html/src/SVGSVGElementWrappingImplementation.dart
index ca6ca99a477194bfc12fdbe4ab9fc5699246e433..a7efbe61dc5b9c78ba23b308e7b90f7a41d95526 100644
--- a/client/html/src/SVGSVGElementWrappingImplementation.dart
+++ b/client/html/src/SVGSVGElementWrappingImplementation.dart
@@ -8,7 +8,7 @@ class SVGSVGElementWrappingImplementation extends SVGElementWrappingImplementati
factory SVGSVGElementWrappingImplementation() {
var el = new SVGElement.tag("svg");
// The SVG spec requires the version attribute to match the spec version
- el.attributes['version'] = 1.1;
+ el.attributes['version'] = "1.1";
return el;
}

Powered by Google App Engine
This is Rietveld 408576698