| <!DOCTYPE html> |
| <html> |
| <!-- |
| Copyright 2014 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. |
| --> |
| <head> |
| <title>Closure Unit Tests - goog.style</title> |
| <script src="../base.js"></script> |
| <script> |
| goog.require('goog.style.style_document_scroll_test'); |
| </script> |
| <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; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="testEl1"> |
| Test Element2 |
| </div> |
| <div id="testEl2">Test Element4</div> |
| </body> |
| </html> |