Index: tests/html/element_test.dart |
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart |
index 511eef7d091764d79c81263e4a7d8c478cbd0b78..ff6e158106ec9b578285e0d004bd0ef3754db236 100644 |
--- a/tests/html/element_test.dart |
+++ b/tests/html/element_test.dart |
@@ -67,28 +67,6 @@ main() { |
})); |
}); |
- test('rect', () { |
- final container = new Element.tag("div"); |
- container.style.position = 'absolute'; |
- container.style.top = '8px'; |
- container.style.left = '8px'; |
- final element = new Element.tag("div"); |
- element.style.width = '200px'; |
- element.style.height = '200px'; |
- container.elements.add(element); |
- document.body.elements.add(container); |
- |
- element.rect.then(expectAsync1((rect) { |
- expectLargeRect(rect.client); |
- expectLargeRect(rect.offset); |
- expectLargeRect(rect.scroll); |
- expect(rect.bounding.left, 8); |
- expect(rect.bounding.top, 8); |
- expect(rect.clientRects.length, greaterThan(0)); |
- container.remove(); |
- })); |
- }); |
- |
test('client position synchronous', () { |
final container = new Element.tag("div"); |
container.style.position = 'absolute'; |