layout/reftests/bugs/751012-1a.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!doctype html>
     2 <body style="position: relative">
     3   <div id="container" style="height: 300px">
     4     <div style="position:absolute; top: 0; left: 0">
     5       <textarea rows="6">
     6         You should be seeing the "Should see me" text.
     7         a
     8         b
     9         c
    10         d
    11         e
    12         f
    13         g
    14         h
    15         i
    16         j
    17         k
    18         l
    19         m
    20         n
    21         o
    22         p
    23         q
    24         r
    25         s
    26         t
    27         u
    28         Should see me.
    29       </textarea>
    30     </div>
    31   </div>
    32   <script>
    33     var textarea = document.querySelector("textarea");
    34     textarea.scrollTop = textarea.scrollHeight
    35     document.getElementById("container").style.overflow = "hidden";
    36   </script>
    37 </body>

mercurial