editor/reftests/unneeded_scroll.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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