Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fast / multicol / hit-test-gap-between-pages.html
1 <html>
2     <body style="margin: 0;">
3         <div style="height: 50%;"></div>
4         <div style="height: 50%;"></div>
5         <div id="target" style="height: 50%;"></div>
6         <div style="height: 50%;"></div>
7         <div id="result">FAIL: Test did not run (DumpRenderTree or WebKitTestRunner needed)</div>
8         <script>
9             if (window.testRunner) {
10                 testRunner.dumpAsText();
11                 internals.setPagination(document, "LeftToRightPaginated", 20, 100);
12                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 50).startContainer === document.getElementById("target")
13                     ? "PASS" : "FAIL";
14             }
15         </script>
16     </body>
17 </html>