40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
<!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" />
|
|
<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 positon 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>
|