diff options
Diffstat (limited to 'editor/reftests/unneeded_scroll.html')
-rw-r--r-- | editor/reftests/unneeded_scroll.html | 24 |
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 0000000000..55c0ba6ba3 --- /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); + }); + </script> + <div> + <textarea>I + am + a + long + long + long + long + textarea + </textarea> + </div> + <div id="dst"></div> + </body> +</html> |