<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
editor.value = "-".repeat(60);
editor.focus();
}
onload = runRepaintAndPixelTest;
</script>
<!-- Test passes if caret is visible at rightmost edge of input field. -->
<textarea id="editor" style="white-space: nowrap; font-size: 13px"></textarea>