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

Unified Diff: tests/utils/txt_layout_test.dart

Issue 12084116: Fixing case of IE polyfill using deprecated syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Some more test changes. Created 7 years, 11 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
Index: tests/utils/txt_layout_test.dart
diff --git a/tests/utils/txt_layout_test.dart b/tests/utils/txt_layout_test.dart
index 957311706a17e041c96f66fde97517c4da282e7f..6ec9d90a1caf2e6896f0edd8221b4f54f9e45d56 100644
--- a/tests/utils/txt_layout_test.dart
+++ b/tests/utils/txt_layout_test.dart
@@ -17,8 +17,8 @@ main() {
var div2Style = _style('red', 25, 30, 40, 10);
var div1 = new Element.html('<div style="$div1Style"></div>');
var div2 = new Element.html('<div style="$div2Style"></div>');
- document.body.elements.add(div1);
- document.body.elements.add(div2);
+ document.body.children.add(div1);
+ document.body.children.add(div2);
}
_style(String color, int top, int left, int width, int height) {
« no previous file with comments | « tests/utils/png_layout_test.dart ('k') | tools/dom/templates/html/dart2js/impl_HTMLTableElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698