layout/reftests/bugs/751012-1b.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 style="-moz-column-count: 2; height: 300px">
michael@0 4 <div id="container" style="height: 600px">
michael@0 5 <!-- Make sure the abs-pos div's placeholder is not in the first continuation -->
michael@0 6 <div style="height: 400px"></div>
michael@0 7 <div style="position:absolute; top: 0; left: 0">
michael@0 8 <textarea rows="6">
michael@0 9 You should be seeing the "Should see me" text.
michael@0 10 a
michael@0 11 b
michael@0 12 c
michael@0 13 d
michael@0 14 e
michael@0 15 f
michael@0 16 g
michael@0 17 h
michael@0 18 i
michael@0 19 j
michael@0 20 k
michael@0 21 l
michael@0 22 m
michael@0 23 n
michael@0 24 o
michael@0 25 p
michael@0 26 q
michael@0 27 r
michael@0 28 s
michael@0 29 t
michael@0 30 u
michael@0 31 Should see me.
michael@0 32 </textarea>
michael@0 33 </div>
michael@0 34 </div>
michael@0 35 </div>
michael@0 36 <script>
michael@0 37 var textarea = document.querySelector("textarea");
michael@0 38 textarea.scrollTop = textarea.scrollHeight
michael@0 39 document.getElementById("container").style.overflow = "hidden";
michael@0 40 </script>
michael@0 41 </body>

mercurial