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