| 1 |
<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--><html><head><meta charset="UTF-8"> |
| 7 |
|
| 8 |
<script src="../base.js"></script> |
| 9 |
|
| 10 |
<script>goog.require('goog.style.style_document_scroll_test');</script> |
| 11 |
<title>Closure Unit Tests - goog.style.style_document_scroll_test</title><!-- |
| 12 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 13 |
|
| 14 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 15 |
See the COPYING file for details. |
| 16 |
--> |
| 17 |
<style> |
| 18 |
body, html { |
| 19 |
height: 100%; |
| 20 |
margin: 0; |
| 21 |
padding: 0; |
| 22 |
position: absolute; |
| 23 |
white-space: nowrap; |
| 24 |
width: 800px; |
| 25 |
} |
| 26 |
|
| 27 |
#testEl1 { |
| 28 |
background: lightblue; |
| 29 |
height: 110%; |
| 30 |
margin-top: 200px; |
| 31 |
} |
| 32 |
|
| 33 |
#testEl2 { |
| 34 |
background: lightblue; |
| 35 |
display: inline-block; |
| 36 |
margin-left: 300px; |
| 37 |
width: 5000px; |
| 38 |
} |
| 39 |
|
| 40 |
#testEl3 { |
| 41 |
background: lightgrey; |
| 42 |
height: 50px; |
| 43 |
} |
| 44 |
#space { |
| 45 |
height: 100%; |
| 46 |
} |
| 47 |
</style> |
| 48 |
</head><body><div id="testEl1"> |
| 49 |
Test Element1 |
| 50 |
</div> |
| 51 |
<div id="testEl2"> |
| 52 |
Test Element2 |
| 53 |
</div> |
| 54 |
<div id="testEl3"> |
| 55 |
Test Element3 |
| 56 |
</div> |
| 57 |
<div id="space"> |
| 58 |
</div></body></html> |