blob: 6fb3cad7dec2bac1f521c4726839bb65ac447637 [file] [log] [blame]
<!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>