editor/reftests/unneeded_scroll.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <html>
     3   <body>
     4     <script>
     5       document.addEventListener("DOMContentLoaded", function() {
     6         var t = document.querySelector("textarea");
     7         t.focus();
     8         document.querySelector("#dst").appendChild(t);
     9       }, false);
    10     </script>
    11     <div>
    12       <textarea>I
    13         am
    14         a
    15         long
    16         long
    17         long
    18         long
    19         textarea
    20       </textarea>
    21     </div>
    22     <div id="dst"></div>
    23   </body>
    24 </html>

mercurial