summaryrefslogtreecommitdiffstats
path: root/editor/reftests/unneeded_scroll.html
blob: 6d9eba3558e597cedecd03062efc00b5822ff91d (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);
      }, false);
    </script>
    <div>
      <textarea>I
        am
        a
        long
        long
        long
        long
        textarea
      </textarea>
    </div>
    <div id="dst"></div>
  </body>
</html>