summaryrefslogtreecommitdiff
path: root/editor/reftests/824080-6.html
blob: 54bafd68099b3631a809536ffec0f2589ce19462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
    function doTest()
    {
      document.getSelection().selectAllChildren(document.body);
      var editor = document.getElementById("editor");
      editor.focus();
      editor.select();
      editor.blur();
    }
  </script>
</head>
<body onload="doTest()">
<p>normal text</p>
<textarea id="editor">textarea</textarea>
</body>
</html>