Index: sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate |
similarity index 92% |
rename from sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
rename to sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate |
index 7315823d2852fbea9711932b57598191c64e57d3..e3b4b39f448a434af96e5bddc80eea65c24dfe2e 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_SvgElement.darttemplate |
@@ -50,21 +50,21 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
String get outerHTML { |
final container = new Element.tag("div"); |
- final SVGElement cloned = this.clone(true); |
+ final SvgElement cloned = this.clone(true); |
container.elements.add(cloned); |
return container.innerHTML; |
} |
String get innerHTML { |
final container = new Element.tag("div"); |
- final SVGElement cloned = this.clone(true); |
+ final SvgElement cloned = this.clone(true); |
container.elements.addAll(cloned.elements); |
return container.innerHTML; |
} |
void set innerHTML(String svg) { |
final container = new Element.tag("div"); |
- // Wrap the SVG string in <svg> so that SVGElements are created, rather than |
+ // Wrap the SVG string in <svg> so that SvgElements are created, rather than |
// HTMLElements. |
container.innerHTML = '<svg version="1.1">$svg</svg>'; |
this.elements = container.elements[0].elements; |