<!DOCTYPE html> | |
<script> | |
function runTest() { | |
var element = (document.getElementById("editableContent")).firstChild; | |
getSelection().collapse(element, element.length); | |
} | |
</script> | |
<body onload="runTest();"> | |
<!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. --> | |
<div id="editableContent" style="direction: rtl;" contenteditable="true">שדןABC<br>ABC</div> | |
</body> |