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