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