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

Unified Diff: tests/html/measurement_test.dart

Issue 11367040: Removing Element.rect. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« samples/clock/clock.dart ('K') | « tests/html/element_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/measurement_test.dart
diff --git a/tests/html/measurement_test.dart b/tests/html/measurement_test.dart
index 175e92f4644ae0bce88faf6637a752ee5f0cbdfd..74c964b53f4fb5ab5233625e8c4426a4eabd5c00 100644
--- a/tests/html/measurement_test.dart
+++ b/tests/html/measurement_test.dart
@@ -26,17 +26,13 @@ main() {
});
test('requestLayoutFrame', () {
- var rect;
var computedStyle;
window.requestLayoutFrame(expectAsync0(() {
- expect(rect.isComplete);
expect(computedStyle.isComplete);
}));
final element = document.body;
- rect = element.rect;
computedStyle = element.computedStyle;
- expect(rect.isComplete, isFalse);
expect(computedStyle.isComplete, isFalse);
});
« samples/clock/clock.dart ('K') | « tests/html/element_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698