chromium/third_party/google-closure-library/closure/goog/style/style_document_scroll_test.html

<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
--><html><head><meta charset="UTF-8">

<script src="../base.js"></script>

<script>goog.require('goog.style.style_document_scroll_test');</script>
<title>Closure Unit Tests - goog.style.style_document_scroll_test</title><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<style>
 body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 800px;
  }

  #testEl1 {
    background: lightblue;
    height: 110%;
    margin-top: 200px;
  }

  #testEl2 {
    background: lightblue;
    display: inline-block;
    margin-left: 300px;
    width: 5000px;
  }

  #testEl3 {
    background: lightgrey;
    height: 50px;
  }
  #space {
    height: 100%;
  }
</style>
</head><body><div id="testEl1">
 Test Element1
</div>
<div id="testEl2">
 Test Element2
</div>
<div id="testEl3">
 Test Element3
</div>
<div id="space">
</div></body></html>