summaryrefslogtreecommitdiffstats
path: root/editor/reftests/unneeded_scroll.html
blob: 55c0ba6ba32cbe89119f92a9f350be45252d91b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>