| <!DOCTYPE html> | |
| <style> | |
| ::-webkit-scrollbar { display: none; } | |
| </style> | |
| Tests scroll offset of contents with subsequence caching. Passes if no red. | |
| <div id="container" style="position: absolute; width: 300px; height: 200px; overflow: scroll"> | |
| <div id="content1" style="position: absolute; top: 0; left: 0; width: 100px; height: 400px; background-color: green"></div> | |
| </div> | |
| <script> | |
| container.scrollTop = 150; | |
| </script> |