3 <script src=
"resources/text-based-repaint.js"></script>
7 var target
= document
.getElementById("target");
8 getSelection().setBaseAndExtent(target
.firstChild
, 43, target
.firstChild
, 43);
12 <body onload=
"runRepaintTest()">
13 <div id=
"target" style=
"-webkit-user-modify: read-write; text-align: right; outline: none;">The caret should be at the end of this line
</div>