Remove broken test_getClientRects.html

This broke in ab0d620 and in trying to fix it, it's become clear that I don't
understand the intended behavior of getClientRects().  In fact I only see one
rect in Firefox even when all three <div>s have drawn borders, which confuses
me.  Let's remove the test for now and someone who understands what's going on
(which could be future me!) will re-add it.
This commit is contained in:
Keegan McAllister 2013-10-23 17:31:06 -07:00
parent d2b57ba7c1
commit 20613390f9

View file

@ -1,40 +0,0 @@
<html>
<head>
<script src="harness.js"></script>
<script>
var elems = document.getElementsByTagName('div');
var rects = elems[0].getClientRects();
is_a(rects, ClientRectList);
is(rects.length, 3);
for (var i=0; i<rects.length; i++) {
var rect = rects[i];
is_a(rect, ClientRect);
geq(rect.top, 100);
geq(rect.bottom, 100);
geq(rect.left, 100);
geq(rect.right, 100);
is(rect.width, rect.right - rect.left);
is(rect.height, rect.bottom - rect.top);
}
finish();
</script>
<style>
div {
margin-top: 100px;
margin-left: 100px;
}
</style>
</head>
<body>
<div>
my div
<div>foo</div>
<div>bar</div>
</div>
</body>
</html>