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.

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

mercurial