| outline: dashed lightblue; |
| -webkit-column-fill: auto; |
| ">Lorem ipsum dolor sit amet consectetur elit.</div> |
| // Clicking below the last line in the first column should not select anything from the first |
| // line on the second column. |
| var target = document.getElementById("target"); |
| var hitOffset = document.caretRangeFromPoint(target.offsetLeft + 45, target.offsetTop + 87).startOffset; |
| document.getElementById("result").innerText = hitOffset === 26 || hitOffset === 24 ? "PASS" : "FAIL: hit offset " + hitOffset + "."; |