12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE HTML>
- <html>
- <!--
- Copyright 2011 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.
- Author: nicksantos@google.com (Nick Santos)
- -->
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta charset="UTF-8" />
- <title>
- Closure Unit Tests - goog.positioning.MenuAnchoredPosition
- </title>
- <script src="../base.js">
- </script>
- <script>
- goog.require('goog.positioning.MenuAnchoredPositionTest');
- </script>
- </head>
- <!-- Force offscreen menus to count as FAIL_X -->
- <body style="overflow: hidden">
- <div id="offscreen-anchor" style="position: absolute; left: -1000px; top: -1000px">
- </div>
- <div id="onscreen-anchor" style="position: absolute; left: 5px; top: 5px">
- </div>
- <!-- The x and y position of this anchor will be reset on each setUp -->
- <div id="custom-anchor" style="position: absolute;">
- </div>
- <div id="menu" style="position: absolute; left: 20px; top: 20px">
- Menu Item 1
- <br />
- Menu Item 2
- <br />
- Menu Item 3
- </div>
- </body>
- </html>
|