pattern_test.html 968 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2007 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>goog.dom.pattern Tests</title>
  12. <script src="../../base.js"></script>
  13. <script type="text/javascript">
  14. goog.require('goog.dom.patternTest');
  15. </script>
  16. </head>
  17. <body>
  18. <div id="div1">
  19. <span id="span1" style="color: red"></span>
  20. </div>
  21. <div id="div2">
  22. <span id="span2" style="color: blue">x</span>
  23. </div>
  24. <div id="div3">Text</div>
  25. <div id="div4">Other Text</div>
  26. <span></span>
  27. <!-- This chunk gets deleted! -->
  28. <p id="p1"><b>x</b><b>y</b><i>z</i></p>
  29. <div id="div5"><b id="b1">x</b><b id="b2">y</b><i id="i1">z</i></div>
  30. <span id="span3"><span><span>X</span></span></span>
  31. <div id="nodeTypes"><!-- Comment -->Text</div>
  32. </body>
  33. </html>