summaryrefslogtreecommitdiffstats
path: root/editor/reftests/824080-6.html
blob: 5380fb46d6cc35339518269928a52600b2317e78 (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" spellcheck="false">textarea</textarea>
</body>
</html>