Debian Codegraph @

closure-library/closure/goog/positioning/menuanchoredposition_test_dom.html

raw
1 <!--
2 Copyright 2017 The Closure Library Authors. All Rights Reserved.
3
4 Use of this source code is governed by the Apache License, Version 2.0.
5 See the COPYING file for details.
6 -->
7 <!-- Force offscreen menus to count as FAIL_X -->
8 <body style="overflow: hidden">
9 <div id="offscreen-anchor" style="position: absolute; left: -1000px; top: -1000px">
10 </div>
11 <div id="onscreen-anchor" style="position: absolute; left: 5px; top: 5px">
12 </div>
13 <!-- The x and y position of this anchor will be reset on each setUp -->
14 <div id="custom-anchor" style="position: absolute;">
15 </div>
16 <div id="menu" style="position: absolute; left: 20px; top: 20px">
17 Menu Item 1
18 <br />
19 Menu Item 2
20 <br />
21 Menu Item 3
22 </div>
23 </body>