mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
38 lines
701 B
HTML
38 lines
701 B
HTML
|
<!doctype html>
|
||
|
<body style="position: relative">
|
||
|
<div id="container" style="height: 300px">
|
||
|
<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>
|
||
|
<script>
|
||
|
var textarea = document.querySelector("textarea");
|
||
|
textarea.scrollTop = textarea.scrollHeight
|
||
|
document.getElementById("container").style.overflow = "hidden";
|
||
|
</script>
|
||
|
</body>
|