combobox_test.html 977 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.ComboBox
  16. </title>
  17. <style type="text/css">
  18. .goog-menu {
  19. position: absolute;
  20. }
  21. </style>
  22. <script src="../base.js">
  23. </script>
  24. <script>
  25. goog.require('goog.ui.ComboBoxTest');
  26. </script>
  27. </head>
  28. <body>
  29. <h2 style="color:red">
  30. This test is rudimentary.
  31. The fact that it passes should not (yet) make you too confident.
  32. </h2>
  33. <div id="combo">
  34. </div>
  35. <div id="menu">
  36. <div class="goog-combobox-item">
  37. Red
  38. </div>
  39. <div class="goog-combobox-item">
  40. Green
  41. </div>
  42. <div class="goog-combobox-item">
  43. Blue
  44. </div>
  45. </div>
  46. </body>
  47. </html>