summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/751012-1b.html
blob: 7bf635c7001facb0caa1b87547497b3b06e451a3 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<body style="position: relative;">
  <div style="-moz-column-count: 2; height: 300px">
    <div id="container" style="height: 600px">
      <!-- Make sure the abs-pos div's placeholder is not in the first continuation -->
      <div style="height: 400px"></div>
      <div style="position:absolute; top: 0; left: 0">
        <textarea rows="6">
        You should be seeing the "Should see me" text.
        a
        b
        c
        d
        e
        f
        g
        h
        i
        j
        k
        l
        m
        n
        o
        p
        q
        r
        s
        t
        u
        Should see me.
        </textarea>
      </div>
    </div>
  </div>
  <script>
    var textarea = document.querySelector("textarea");
    textarea.scrollTop = textarea.scrollHeight
    document.getElementById("container").style.overflow = "hidden";
  </script>
</body>