Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / remove-zero-length-run.html
blobb821139cf51212d3f7c533520d8bf4bccb8b4f90
1 <link rel="stylesheet" href="../../resources/ahem.css">
2 <div style="position: absolute; top: 40px; left: 40px; width: 140px; font-family: Ahem; font-size: 20px; direction: rtl;">12345 abcde</div>
3 <div id="result">FAIL: Test did not run</div>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var offset = document.caretRangeFromPoint(125, 50).startOffset;
9 document.getElementById("result").innerText = offset === 2 ? "PASS" : "FAIL: Hit offset " + offset;
10 </script>