summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/transformed-2-ref.html
blob: bf2dc6704c1620a9988a9392f48f67586f23152c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html style="margin: 0" class="reftest-wait">
  <body style="margin: 0">
    <div style="height: 70px; background-color: blue"></div>
    <div style="height: 1950px;">
        <div style="margin-top: 100px; width: 100px; height: 100px; background-color: green"></div>
    </div>
  <script>
    addEventListener('load', function() {
      document.scrollingElement.scrollTop = 50;
      document.documentElement.classList.remove('reftest-wait');
    }, false);
  </script>
</html>