haikuwebkit/LayoutTests/fast/inline/skipped-whitespace-client-r...

22 lines
421 B
HTML

<!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>