<!DOCTYPE html>
<html>
<head>
<title>This tests hittest on subsequent linebreaks.</title>
</head>
<body>
<div id=target>Pass if no crash or assert.<br>foobar<br><br>foobar<br><br></div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
if (window.eventSender) {
    var x = target.offsetLeft + target.offsetWidth / 2;
    var y = target.offsetTop + target.offsetHeight - 2;
    eventSender.mouseMoveTo(x, y);
    eventSender.mouseDown();
}
</script>
</body>
</html>
