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

Unified Diff: tests/html/svgelement_test.dart

Issue 15897021: Fixing new SVG test on IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/svgelement_test.dart
diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart
index dc20bd245423981889ef675b4afb5a80089fece2..6bc60b03787d39f145677d5b5f54c8e88048ddaa 100644
--- a/tests/html/svgelement_test.dart
+++ b/tests/html/svgelement_test.dart
@@ -435,8 +435,8 @@ main() {
var rect = element.getBoundingClientRect();
expect(rect is Rect, isTrue);
- expect(rect.width, 100);
- expect(rect.height, 100);
+ expect(rect.width, closeTo(100, 1));
+ expect(rect.height, closeTo(100, 1));
});
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698