summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html
blob: 763a4a550a8e3cc20b046e328685ed1ed3b17c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE HTML>
<html>
<div id="scroller" style="overflow:scroll; height: 400px; width: 400px">
<div style="margin-top: 120px; background-color: yellow; height: 380px">
<div style="height: 90px"></div>
<div style="height: 20px; background-color: green"></div>
</div>
<div style="height: 310px"></div>
</div>
<script>
    document.getElementById('scroller').scrollTop = 120;
</script>