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

Unified Diff: tests/html/svg_test.dart

Issue 14883008: use .append instead of .nodes.add (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: revert node_test and element_test Created 7 years, 7 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
« no previous file with comments | « tests/html/shadow_dom_test.dart ('k') | tests/html/template_element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/svg_test.dart
diff --git a/tests/html/svg_test.dart b/tests/html/svg_test.dart
index ee327bf304ce6d549498abe77713fd8d9ce1343a..156f3794158bb90158f21e40717653b4fc407b81 100644
--- a/tests/html/svg_test.dart
+++ b/tests/html/svg_test.dart
@@ -16,7 +16,7 @@ main() {
test('simpleRect', () {
var div = new Element.tag('div');
- document.body.nodes.add(div);
+ document.body.append(div);
div.innerHtml = r'''
<svg id='svg1' width='200' height='100'>
<rect id='rect1' x='10' y='20' width='130' height='40' rx='5'fill='blue'></rect>
@@ -58,7 +58,7 @@ main() {
<rect id='rect1' x='10' y='20' width='130' height='40' rx='5'fill='blue'></rect>
</svg>
''';
- document.body.nodes.add(element);
+ document.body.append(element);
return element;
}
@@ -112,7 +112,7 @@ main() {
<rect id='rect1' x='10' y='20' width='130' height='40' rx='5'fill='blue'></rect>
</svg>
''';
- document.body.nodes.add(element);
+ document.body.append(element);
return element;
}
« no previous file with comments | « tests/html/shadow_dom_test.dart ('k') | tests/html/template_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698