blob: d638f68954fd97f384fa1a443e368eacdcdde0cd [file] [log] [blame]
<!doctype html>
<html>
<head>
<script>
if (window.testRunner)
window.testRunner.dumpAsText()
function runTest()
{
var rect = document.getElementById('test').getBoundingClientRect();
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>