summaryrefslogtreecommitdiff
path: root/editor/reftests/824080-7-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/reftests/824080-7-ref.html')
-rw-r--r--editor/reftests/824080-7-ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/editor/reftests/824080-7-ref.html b/editor/reftests/824080-7-ref.html
new file mode 100644
index 0000000000..10162cb1f3
--- /dev/null
+++ b/editor/reftests/824080-7-ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script type="text/javascript">
+ function doTest()
+ {
+ var editor = document.getElementById("editor");
+ editor.focus();
+ editor.selectionStart = 2;
+ editor.selectionEnd = 4;
+ }
+ </script>
+</head>
+<body onload="doTest()">
+<p>normal text</p>
+<textarea id="editor">textarea</textarea>
+</body>
+</html>
+