summaryrefslogtreecommitdiffstats
path: root/editor/reftests/1443902-2-ref.html
blob: 727ed76ea9b9cbf0d85ece946bd944fe73a14cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<script>
function init()
{
  document.getElementById("t1").focus();
  document.getElementById("t1").setSelectionRange(4, 4);
}
</script>
</head>
<body onload="init()">
<div id="d1">
<input type="text" id=t1 value="ABCD">
</div>
</body>
</html>