summaryrefslogtreecommitdiffstats
path: root/editor/reftests/824080-7-ref.html
blob: 10162cb1f3d613e59e0e0f439ccb730d54507549 (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 type="text/javascript">
    function doTest()
    {
      var editor = document.getElementById("editor");
      editor.focus();
      editor.selectionStart = 2;
      editor.selectionEnd = 4;
    }
  </script>
</head>
<body onload="doTest()">
<p>normal text</p>
<textarea id="editor">textarea</textarea>
</body>
</html>