summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/scrollframe-1-ref.html
blob: 645db8947f1c4e675a22d0d3207503db46dd9b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
  <body onload="loaded()">
    <div style="position: relative; top: 100px; overflow: scroll; width: 100px; height: 100px;">
      <div style="height: 200px"></div></div>
    <script>
      function loaded() {
        var insPoint = document.querySelector("div");
        insPoint.scrollTop = 50;
      }
    </script>
  </body>
</html>