Index: tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate |
similarity index 60% |
copy from tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate |
copy to tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate |
index 6279a7e4f1aa13155f896203bc1e4e829f0af5de..59e012ef5d4407f3aa6786a4b2cf828479186192 100644 |
--- a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate |
@@ -4,13 +4,12 @@ |
part of $LIBRARYNAME; |
+@DocsEditable() |
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { |
- factory $CLASSNAME() { |
- final el = new SvgElement.tag("svg"); |
- // The SVG spec requires the version attribute to match the spec version |
- el.attributes['version'] = "1.1"; |
- return el; |
- } |
- |
$!MEMBERS |
+$if DARTIUM |
+ // Override these methods for Dartium _SVGMPathElement can't be abstract. |
+ AnimatedString get href => wrap_jso(_blink.BlinkSVGMPathElement.instance.href_Getter_(unwrap_jso(this))); |
+$endif |
} |
+ |