8fead08ef9996a99390a20abcbcb7da1bfeebb72
[jquery.git] / build / test / index.html
1 <html id="html">
2 <head>
3         <meta http-equiv="Content-Type" content="text/css; charset=utf-8" />
4         <title>jQuery Test Suite</title>
5         <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
6         <script type="text/javascript" src="../dist/jquery.js"></script>
7         <script type="text/javascript" src="data/testrunner.js"></script>
8         <script type="text/javascript" src="../src/jquery/coreTest.js"></script>
9         <script type="text/javascript" src="../src/selector/selectorTest.js"></script>
10         <script type="text/javascript" src="../src/event/eventTest.js"></script>
11         <script type="text/javascript" src="../src/ajax/ajaxTest.js"></script>
12         <script type="text/javascript" src="../src/fx/fxTest.js"></script>
13 </head>
14
15 <body id="body">
16         <h1>jQuery Test Suite</h1>
17         <h2 id="banner"></h2>
18         <h2 id="userAgent"></h2>
19         
20         <!-- Test HTML -->
21         <dl style="display:none;">
22         <div id="main" style="display: none;">
23                 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>
24                 <p id="ap">
25                         Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
26                         <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
27                         This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 
28                         <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
29
30                 </p>
31                 <div id="foo">
32                         <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
33                         <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
34                         <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
35
36                 </div>
37                 <p id="first">Try them out:</p>
38                 <ul id="firstUL"></ul>
39                 <ol id="empty"></ol>
40                 <form id="form" action="formaction">
41                         <input type="text" name="action" value="Test" id="text1"/>
42                         <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
43                         <input type="radio" name="radio1" id="radio1"/>
44
45                         <input type="radio" name="radio2" id="radio2" checked="checked"/>
46                         <input type="checkbox" name="check" id="check1" checked="checked"/>
47                         <input type="checkbox" id="check2"/>
48
49                         <input type="hidden" name="hidden" id="hidden1"/>
50                         <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
51                         
52                         <input type="text" id="name" name="name" value="name" />
53                         
54                         <button id="button" name="button">Button</button>
55                         
56                         <textarea id="area1">foobar</textarea>
57                         
58                         <select name="select1" id="select1">
59                                 <option id="option1a" value="">Nothing</option>
60                                 <option id="option1b" value="1">1</option>
61                                 <option id="option1c" value="2">2</option>
62                                 <option id="option1d" value="3">3</option>
63                         </select>
64                         <select name="select2" id="select2">
65                                 <option id="option2a" value="">Nothing</option>
66                                 <option id="option2b" value="1">1</option>
67                                 <option id="option2c" value="2">2</option>
68                                 <option id="option2d" selected="selected" value="3">3</option>
69                         </select>
70                         <select name="select3" id="select3" multiple="multiple">
71                                 <option id="option3a" value="">Nothing</option>
72                                 <option id="option3b" selected="selected" value="1">1</option>
73                                 <option id="option3c" selected="selected" value="2">2</option>
74                                 <option id="option3d" value="3">3</option>
75                         </select>
76                         
77                         <object id="object1" codebase="stupid">
78                                 <param name="p1" value="x1" />
79                                 <param name="p2" value="x2" />
80                         </object>
81                         
82                         <span id="台北Táiběi"></span>
83                         <span id="台北" lang="中文"></span>
84                         <span id="utf8class1" class="台北Táiběi 台北"></span>
85                         <span id="utf8class2" class="台北"></span>
86                 </form>
87                 <b id="floatTest">Float test.</b>
88                 <iframe id="iframe"></iframe>
89         </div>
90         </dl>
91         
92         <ol id="tests"></ol>
93 </body>
94 </html>