<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) | |
internals.toggleOverwriteModeEnabled(document); | |
function run() { | |
var element = (document.getElementById("editableContent")).firstChild; | |
getSelection().collapse(element, element.length); | |
} | |
</script> | |
</head> | |
<body style = "font: 30px;" onload="run();""> | |
<!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. --> | |
<div id="editableContent" contenteditable="true">ABC<br>ABC</div> | |
</body> | |
</html> |