blob: 94041c41b76c97ab61ce1228619d51f1d0e4da5f [file] [log] [blame]
<html>
<body style="margin: 0;">
<div style="height: 50%;"></div>
<div style="height: 50%;"></div>
<div id="target" style="height: 50%;"></div>
<div style="height: 50%;"></div>
<div id="result">FAIL: Test did not run (DumpRenderTree or WebKitTestRunner needed)</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
internals.setPagination("LeftToRightPaginated", 20, 100);
document.getElementById("result").innerText = document.caretRangeFromPoint(115, 50).startContainer === document.getElementById("target")
? "PASS" : "FAIL";
}
</script>
</body>
</html>