<div style=" | |
width: 200px; | |
height: 100px; | |
-webkit-columns: 2; | |
-webkit-column-gap: 0; | |
-webkit-column-fill: auto; | |
columns: 2; | |
column-gap: 0; | |
column-fill: auto; | |
-webkit-writing-mode: horizontal-bt; | |
font: 20px ahem; | |
"> | |
1111 2222 3333 4444 5 | |
<div></div> | |
</div> | |
<p id="result">The test did not run.</p> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
var offset = document.caretRangeFromPoint(38, 18).startOffset; | |
document.getElementById("result").innerText = offset === 26 ? "PASS" : "FAIL"; | |
</script> |