editor/reftests/824080-7-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/824080-7-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <script type="text/javascript">
     1.8 +    function doTest()
     1.9 +    {
    1.10 +      var editor = document.getElementById("editor");
    1.11 +      editor.focus();
    1.12 +      editor.selectionStart = 2;
    1.13 +      editor.selectionEnd = 4;
    1.14 +    }
    1.15 +  </script>
    1.16 +</head>
    1.17 +<body onload="doTest()">
    1.18 +<p>normal text</p>
    1.19 +<textarea id="editor">textarea</textarea>
    1.20 +</body>
    1.21 +</html>
    1.22 +

mercurial