summaryrefslogtreecommitdiffstats
path: root/editor/reftests/unneeded_scroll.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/reftests/unneeded_scroll.html')
-rw-r--r--editor/reftests/unneeded_scroll.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/editor/reftests/unneeded_scroll.html b/editor/reftests/unneeded_scroll.html
new file mode 100644
index 000000000..6d9eba355
--- /dev/null
+++ b/editor/reftests/unneeded_scroll.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <script>
+ document.addEventListener("DOMContentLoaded", function() {
+ var t = document.querySelector("textarea");
+ t.focus();
+ document.querySelector("#dst").appendChild(t);
+ }, false);
+ </script>
+ <div>
+ <textarea>I
+ am
+ a
+ long
+ long
+ long
+ long
+ textarea
+ </textarea>
+ </div>
+ <div id="dst"></div>
+ </body>
+</html>