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

Unified Diff: tests/html/cssstyledeclaration_test.dart

Issue 11413071: Deprecating Element.elements for Element.children. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback. Created 8 years, 1 month 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 | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/cssstyledeclaration_test.dart
diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
index 3822e07f7c9de531693f5716e8853bc6814e6831..13835617ec32c3578fa1cdb476a12589306c5764 100644
--- a/tests/html/cssstyledeclaration_test.dart
+++ b/tests/html/cssstyledeclaration_test.dart
@@ -49,7 +49,7 @@ main() {
test('CSS property empty getters and setters', () {
var style = createTestStyle();
expect(style.border, equals(""));
-
+
style.border = "1px solid blue";
style.border = "";
expect(style.border, equals(""));
@@ -70,7 +70,7 @@ main() {
test('Browser prefixes', () {
var element = new DivElement();
element.style.transform = 'translateX(10px)';
- document.body.elements.add(element);
+ document.body.children.add(element);
element.getComputedStyle('').then(expectAsync1(
(CSSStyleDeclaration style) {
@@ -84,7 +84,7 @@ main() {
// IE9 requires an extra poke for some properties to get applied.
test('IE9 Invalidation', () {
var element = new DivElement();
- document.body.elements.add(element);
+ document.body.children.add(element);
// Need to wait one tick after the element has been added to the page.
window.setTimeout(expectAsync0(() {
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698