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

Unified Diff: tests/html/element_test.dart

Issue 20418002: Adjust element offset Test for IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index 9238658baa13e691433bb350b137f5ba077bfc1b..a26d7c73cccad589eda42b769468cda7d399c92a 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -829,16 +829,16 @@ main() {
var itemii = query('.item-ii');
expect(itema.documentOffset.x, 88);
- expect(itema.documentOffset.y, inInclusiveRange(119, 124));
+ expect(itema.documentOffset.y, inInclusiveRange(119, 160));
expect(itemii.documentOffset.x, 48);
- expect(itemii.documentOffset.y, inInclusiveRange(101, 105));
+ expect(itemii.documentOffset.y, inInclusiveRange(101, 145));
expect(itemb.documentOffset.x, 238);
- expect(itemb.documentOffset.y, inInclusiveRange(157, 165));
+ expect(itemb.documentOffset.y, inInclusiveRange(157, 205));
expect(item1.documentOffset.x, 278);
- expect(item1.documentOffset.y, inInclusiveRange(175, 182));
+ expect(item1.documentOffset.y, inInclusiveRange(175, 222));
expect(bar.documentOffset.x, 90);
expect(bar.documentOffset.y, 8);
@@ -847,10 +847,10 @@ main() {
expect(baz.documentOffset.y, 608);
expect(qux.documentOffset.x, 8);
- expect(qux.documentOffset.y, inInclusiveRange(222, 232));
+ expect(qux.documentOffset.y, inInclusiveRange(221, 232));
expect(quux.documentOffset.x, 8);
- expect(quux.documentOffset.y, inInclusiveRange(222, 232));
+ expect(quux.documentOffset.y, inInclusiveRange(221, 232));
});
});
« 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