forked from kindsoft/kindeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselector.html
56 lines (53 loc) · 1.71 KB
/
selector.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>KindEditor Unittest</title>
<link rel="stylesheet" href="../lib/qunit/qunit.css" />
<!-- <script src="../lib/firebug-lite/build/firebug-lite.js#startOpened"></script> -->
<script src="../lib/qunit/qunit.js"></script>
<script src="../lib/jquery.min.js"></script>
<!-- include src files -->
<script src="../src/core.js"></script>
<script src="../src/config.js"></script>
<script src="../src/event.js"></script>
<script src="../src/html.js"></script>
<script src="../src/selector.js"></script>
</head>
<body>
<h1 id="qunit-header">KindEditor Unittest</h1>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<!-- test data 01 -->
<div id="test-data-01" class="test-class" style="display:none;">
<p>
abcd<strong>efg</strong>hijk<img src="./data/logo_180_30.gif" border="0" />xyz<br />
01<span style="color:red;font-size:14px;">23456</span>789<br />
</p>
<div>div area</div>
<div id="escaped-id:.">div area 2</div>
<input type="text" name="escaped-name:." value="" />
</div>
<!-- test data 02 -->
<div id="test-data-02" class="test-class" style="display:none;">
<p>
<strong></strong>hijk<img src="./data/logo_180_30.gif" border="0" /><br />
<span style="color:red;font-size:14px;">23456</span>789<br />
</p>
<div></div>
</div>
<!-- test data 03 -->
<div id="test-data-03" class="test-class" style="display:none;">
<p>
<strong> </strong>hijk <img src="./data/logo_180_30.gif" /> <br />
1<span style="color:red;"> 23 456 </span> 789 <br />
</p>
<div>abc
def
g <embed/> </div>
<div> </div>
</div>
<!-- include test files -->
<script src="selector.js"></script>
</body>
</html>