keyboardshortcuthandler_test.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <head>
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  10. <!-- Author: gboyer@google.com (Garrett Boyer) -->
  11. <meta charset="UTF-8" />
  12. <title>
  13. Closure Unit Tests - goog.ui.KeyboardShortcutHandler
  14. </title>
  15. <script src="../base.js">
  16. </script>
  17. <script>
  18. goog.require('goog.ui.KeyboardShortcutHandlerTest');
  19. </script>
  20. </head>
  21. <body>
  22. <div id="rootDiv">
  23. <div id="targetDiv">
  24. The test presses keys on me!
  25. </div>
  26. <button id="targetButton">
  27. A Button
  28. </button>
  29. <input type="checkbox" id="targetCheckBox" />
  30. <input type="color" id="targetColor" value="#FF0000" />
  31. <input type="date" id="targetDate" value="1995-12-31" />
  32. <input type="datetime" id="targetDateTime" value="1995-12-31T23:59:59.99Z" />
  33. <input type="datetime-local" id="targetDateTimeLocal" value="1995-12-31T23:59:59.99" />
  34. <input type="email" id="targetEmail" value="test@google.com" />
  35. <input type="month" id="targetMonth" value="1995-12" />
  36. <input type="number" id="targetNumber" value="12345" />
  37. <input type="password" id="targetPassword" value="password" />
  38. <input type="search" id="targetSearch" value="search terms" />
  39. <input type="tel" id="targetTel" value="555 1212" />
  40. <input type="text" id="targetText" value="text box" />
  41. <input type="time" id="targetTime" value="12:00" />
  42. <input type="url" id="targetUrl" value="http://www.google.com" />
  43. <input type="week" id="targetWeek" value="2005-W52" />
  44. <select id="targetSelect">
  45. <option>
  46. select
  47. </option>
  48. </select>
  49. <textarea id="targetTextArea">
  50. text area
  51. </textarea>
  52. </div>
  53. </body>
  54. </html>