editor/reftests/824080-7.html
author Philip Chee <philip.chee@gmail.com>
Sun, 27 Mar 2016 00:06:15 +0800
changeset 290514 2a8ca5caae8e3a300701b0a85e5051ead55e0648
parent 132293 8a53b2daa50e60c1b736af2ca43012cd152f40cb
permissions -rw-r--r--
Bug 1258161 Remove obsolete strings from docshell/resources/content/netError.xhtml r=past

<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
    function doTest()
    {
      document.getSelection().selectAllChildren(document.body);
      var editor = document.getElementById("editor");
      editor.focus();
      editor.selectionStart = 2;
      editor.selectionEnd = 4;
      editor.blur();
      editor.focus();
    }
  </script>
</head>
<body onload="doTest()">
<p>normal text</p>
<textarea id="editor">textarea</textarea>
</body>
</html>