blob: a89af9927a651bc9126514db06fda413f3da7247 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script>
if (window.testRunner)
window.testRunner.dumpAsText()
function runTest()
{
var elem = document.getElementById('test');
if (window.internals) {
var rect = internals.boundingBox(elem);
if (rect.top > 0 || rect.left > 0)
document.getElementById('console').innerHTML = 'PASS';
}
}
</script>
</head>
<body onload="runTest()">
<div> <a id="test"></a> </div>
<div id="console">FAIL</div>
</body>
</html>