annotate_test.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2006 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. <meta charset="UTF-8" />
  11. <title>Closure Unit Tests - goog.dom.annotate</title>
  12. <script src="../base.js"></script>
  13. <script>
  14. goog.require('goog.dom.annotateTest');
  15. </script>
  16. <style type="text/css">
  17. .c0 {background-color:#ff0}
  18. .c1 {background-color:#0ff}
  19. </style>
  20. </head>
  21. <body>
  22. <span id="p">Tom &amp; Jerry</span>
  23. <table>
  24. <tr id="q">
  25. <td>This <b>little</b> piggy</td>
  26. <td class="s">That little <i>pig</i>gy</td>
  27. </tr>
  28. <tr id="r">
  29. <td>This <b>little</b> piggy</td>
  30. <td class="s">That little <i>pig</i>gy</td>
  31. </tr>
  32. <tr id="t">
  33. <td>This <b>little</b> piggy</td>
  34. <td class="s">That little <i>Pig</i>gy</td>
  35. </tr>
  36. <tr id="u">
  37. <td>This <b>little</b> piggy</td>
  38. <td class="s">That little <i>Pig</i>gy</td>
  39. </tr>
  40. </table>
  41. <div id="o">
  42. <object classid="clsid:SAMPLE-UNRECOGNIZED-ID" width="100" height="50">
  43. <param name="BorderStyle" value="1" />
  44. <param name="MousePointer" value="0" />
  45. <param name="Enabled" value="1" />
  46. <param name="Min" value="0" />
  47. <param name="Max" value="10" />
  48. Your browser cannot display this object.
  49. </object>
  50. </div>
  51. <script id="script">var variable;</script>
  52. <style id="style" type="text/css">.orange{color:orange}</style>
  53. <span id="comment"><!-- note --></span>
  54. </body>
  55. </html>