classes_quirks_test.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <html>
  2. <!--
  3. Copyright 2006 The Closure Library Authors. All Rights Reserved.
  4. Use of this source code is governed by the Apache License, Version 2.0.
  5. See the COPYING file for details.
  6. -->
  7. <!--
  8. This is a copy of classes_test.html but without a doctype. Make sure these two
  9. are in sync.
  10. -->
  11. <head>
  12. <meta charset="UTF-8" />
  13. <title>Closure Unit Tests - goog.dom.classes</title>=
  14. <script src="../base.js"></script>
  15. <style type="text/css">
  16. #styleTest1 {
  17. width:120px;font-weight:bold;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <div id="testEl">
  23. <span>Test Element</span>
  24. </div>
  25. <div><div><div id="testEl2"></div></div></div>
  26. <span id="span1" class="TEST1"></span>
  27. <span id="span2" class="TEST1"></span>
  28. <span id="span3" class="TEST2"></span>
  29. <span id="span4" class="TEST3"></span>
  30. <span id="span5" class="TEST1"></span>
  31. <span id="span6"></span>
  32. <p id="p1"></p>
  33. <div id="styleTest1"></div>
  34. <div id="styleTest2" style="width:100px;font-weight:bold"></div>
  35. <div id="styleTest3"></div>
  36. <!-- Paragraph to test element child and sibling -->
  37. <p id="p2">
  38. <!-- Comment -->
  39. a
  40. <b id="b1">c</b>
  41. d
  42. <!-- Comment -->
  43. e
  44. <b id="b2">f</b>
  45. g
  46. <!-- Comment -->
  47. </p>
  48. <p id="p3" class="SOMECLASS
  49. OTHERCLASS">
  50. h
  51. </p>
  52. <iframe name="frame" src="../math/math_test.html"></iframe>
  53. <script>
  54. goog.require('goog.dom.classes_test');
  55. </script>
  56. </body>
  57. </html>