Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
index a13be659bc61145b1627ee6d5381739d23a76cba..a272085f962a9689f75c65ce8d2d32127cd87d46 100644 |
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
@@ -424,5 +424,11 @@ $endif |
return _modelChangedStream.stream; |
} |
+ /** |
+ * Print out a String representation of this Node. |
+ */ |
+ String toString() => localName == null ? |
+ (nodeValue == null ? super.toString() : nodeValue) : localName; |
+ |
$!MEMBERS |
} |