2 <script src=
"resources/text-based-repaint.js"></script>
3 <body onload=
"runRepaintTest()">
4 The caret to the right should be blinking before the period.
5 <input id=
"target" style=
"width: 20px;" type=
"text" value=
"This is some really long text.">
7 var target
= document
.getElementById("target");
8 target
.selectionStart
= 30;
9 target
.selectionEnd
= 30;
12 function repaintTest()
14 target
.selectionStart
= 29;
15 target
.selectionEnd
= 29;