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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 494253002: Fix Try Dart newline handling on IE11. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Test checks content of the text with newlines Created 6 years, 4 months 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
« tests/html/element_add_test.dart ('K') | « tests/try/try.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
===================================================================
--- tools/dom/templates/html/impl/impl_Element.darttemplate (revision 39571)
+++ tools/dom/templates/html/impl/impl_Element.darttemplate (working copy)
@@ -714,7 +714,7 @@
* Adds the specified text after the last child of this element.
*/
void appendText(String text) {
- this.insertAdjacentText('beforeend', text);
+ this.append(new Text(text));
}
/**
« tests/html/element_add_test.dart ('K') | « tests/try/try.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698