popupbase_test.html 999 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2008 The Closure Library Authors. All Rights Reserved.
  5. Use of this source code is governed by the Apache License, Version 2.0.
  6. See the COPYING file for details.
  7. -->
  8. <!--
  9. Author: gboyer@google.com (Garrett Boyer)
  10. -->
  11. <head>
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  13. <meta charset="UTF-8" />
  14. <title>
  15. Closure Unit Tests - goog.ui.PopupBase
  16. </title>
  17. <script src="../base.js">
  18. </script>
  19. <script>
  20. goog.require('goog.ui.PopupBaseTest');
  21. </script>
  22. <style>
  23. #moveOffscreenPopupDiv {
  24. position: absolute;
  25. width: 300px;
  26. height: 300px;
  27. top: -1000px;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <div id="commonAncestor">
  33. <div id="targetDiv">
  34. Mouse and key target
  35. </div>
  36. <div id="partnerDiv">
  37. Auto-hide partner
  38. </div>
  39. <div id="popupDiv" style="visibility:hidden">
  40. Popup Contents Here.
  41. </div>
  42. <div id="moveOffscreenPopupDiv">
  43. Move offscreen popup contents here.
  44. </div>
  45. </div>
  46. </body>
  47. </html>