editor/reftests/unneeded_scroll.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/unneeded_scroll.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <body>
     1.7 +    <script>
     1.8 +      document.addEventListener("DOMContentLoaded", function() {
     1.9 +        var t = document.querySelector("textarea");
    1.10 +        t.focus();
    1.11 +        document.querySelector("#dst").appendChild(t);
    1.12 +      }, false);
    1.13 +    </script>
    1.14 +    <div>
    1.15 +      <textarea>I
    1.16 +        am
    1.17 +        a
    1.18 +        long
    1.19 +        long
    1.20 +        long
    1.21 +        long
    1.22 +        textarea
    1.23 +      </textarea>
    1.24 +    </div>
    1.25 +    <div id="dst"></div>
    1.26 +  </body>
    1.27 +</html>

mercurial