<!doctype html>
<style>
  body {
    overflow: scroll;
    height: 470px;
    width: 520px;
  }
  #spacer {
    height: 10000px;
  }
</style>
<html>
    <body>
      Pass if no crash.
      <div id=spacer></div>
    </body>
</html>
<script>
  document.body.offsetTop;
  document.body.style.padding = "10px";
  document.documentElement.style.overflow = "scroll";
</script>

