UNPKG

accessibility-developer-tools

Version:

This is a library of accessibility-related testing and utility code.

57 lines (52 loc) 1.03 kB
<!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> <meta charset="UTF-8" /> <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; } #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>