buttonrenderer_test.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. -->
  10. <head>
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  12. <meta charset="UTF-8" />
  13. <title>
  14. Closure Unit Tests - goog.ui.style.app.ButtonRenderer
  15. </title>
  16. <script src="../../../base.js">
  17. </script>
  18. <script>
  19. goog.require('goog.ui.style.app.ButtonRendererTest');
  20. </script>
  21. </head>
  22. <body>
  23. <div id="sandbox"></div>
  24. <div id="button" title="Click for Decorated">
  25. Hello Decorated
  26. </div>
  27. <!-- The component DOM must always be created without whitespace. -->
  28. <div id="button-box" title="Click for Decorated Box" class="goog-button goog-button-base"><div class="goog-inline-block goog-button-base-outer-box"><div class="goog-inline-block goog-button-base-inner-box"><div class="goog-button-base-pos"><div class="goog-button-base-top-shadow">&nbsp;</div><div class="goog-button-base-content">Hello Decorated Box</div></div></div></div></div>
  29. <!-- The component DOM must always be created without whitespace. This
  30. demonstrates what happens when the content has whitespace.
  31. -->
  32. <div id="button-box-with-space-in-content" class="goog-button goog-button-base"><div class="goog-inline-block goog-button-base-outer-box"><div class="goog-inline-block goog-button-base-inner-box"><div class="goog-button-base-pos"><div class="goog-button-base-top-shadow">&nbsp;</div><div class="goog-button-base-content">
  33. Hello Decorated Box with space
  34. </div></div></div></div></div>
  35. <div id="button-box-with-dom-content">
  36. <strong>Hello</strong> <em>Box</em>
  37. </div>
  38. </body>
  39. </html>