| Index: tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate
|
| similarity index 59%
|
| copy from tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate
|
| copy to tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate
|
| index 6279a7e4f1aa13155f896203bc1e4e829f0af5de..4c88084f23137855cabd685130869e68ad1137a4 100644
|
| --- a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.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 _SVGGlyphRefElement can't be abstract.
|
| + AnimatedString get href => wrap_jso(_blink.BlinkSVGGlyphRefElement.instance.href_Getter_(unwrap_jso(this)));
|
| +$endif
|
| }
|
| +
|
|
|