Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 237 lines (211 sloc) 10.633 kb
80a149b @jeresig Integrated the custom fx test suite into the main test suite. All tes…
jeresig authored
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
805832a @jeresig Updated the jQuery suite to use the updated QUnit CSS styling.
jeresig authored
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
e7a29e4 @jeresig Moved the tests into jQuery proper.
jeresig authored
3 <head>
80a149b @jeresig Integrated the custom fx test suite into the main test suite. All tes…
jeresig authored
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7cc5507 @jzaefferer Testsuite 2.0
jzaefferer authored
5 <title>jQuery Test Suite</title>
920238d @jeresig Pull in QUnit using a submodule. In order to build jQuery (and run th…
jeresig authored
6 <link rel="Stylesheet" media="screen" href="qunit/qunit/qunit.css" />
0256edb @jeresig Moved the jQuery-specific test suite CSS into a separate file.
jeresig authored
7 <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
52fbe5d @flesler test runner: adding a new test page called 'polluted'. Where one can …
flesler authored
8 <!-- Includes -->
8df82d2 @jeresig Moved the init test script off into a separate file.
jeresig authored
9 <script type="text/javascript" src="data/testinit.js"></script>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
10 <script type="text/javascript" src="../dist/jquery.js"></script>
920238d @jeresig Pull in QUnit using a submodule. In order to build jQuery (and run th…
jeresig authored
11 <script type="text/javascript" src="qunit/qunit/qunit.js"></script>
aec0dad @jzaefferer jquery core: reverted qunit introduction until build scripts are updated
jzaefferer authored
12 <script type="text/javascript" src="data/testrunner.js"></script>
b4e23b5 @jeresig Reorganzing the jQuery source (first phase).
jeresig authored
13 <script type="text/javascript" src="unit/core.js"></script>
4afa608 @flesler jquery data: Closes #3539. Exposed jQuery.queue. Moved all the data a…
flesler authored
14 <script type="text/javascript" src="unit/data.js"></script>
ebad701 @jeresig Split the queue code out from data.js into a dedicated queue.js file …
jeresig authored
15 <script type="text/javascript" src="unit/queue.js"></script>
7c04a64 @brandonaaron breaking jquery out into smaller modules. added attributes.js, manipu…
brandonaaron authored
16 <script type="text/javascript" src="unit/attributes.js"></script>
d7d908b @brandonaaron decoupling styles retrieval from the attr method
brandonaaron authored
17 <script type="text/javascript" src="unit/css.js"></script>
7c04a64 @brandonaaron breaking jquery out into smaller modules. added attributes.js, manipu…
brandonaaron authored
18 <script type="text/javascript" src="unit/traversing.js"></script>
19 <script type="text/javascript" src="unit/manipulation.js"></script>
89d2f1e @jeresig Reverting accidental test suite corruption from the Sizzle merge.
jeresig authored
20 <script type="text/javascript" src="unit/dimensions.js"></script>
21 <script type="text/javascript" src="unit/selector.js"></script>
22 <script type="text/javascript" src="unit/event.js"></script>
23 <script type="text/javascript" src="unit/ajax.js"></script>
b70872f @jeresig Renamed the 'fx' module to 'effects'. Should've been done a long time…
jeresig authored
24 <script type="text/javascript" src="unit/effects.js"></script>
6504751 @brandonaaron integrated offset tests into main test suite. offset tests now use if…
brandonaaron authored
25 <script type="text/javascript" src="unit/offset.js"></script>
89d2f1e @jeresig Reverting accidental test suite corruption from the Sizzle merge.
jeresig authored
26 </head>
27
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
28 <body id="body">
805832a @jeresig Updated the jQuery suite to use the updated QUnit CSS styling.
jeresig authored
29 <h1 id="qunit-header">jQuery Test Suite</h1>
b0306cc @jeresig Updated the jQuery suite to use the new 'qunit-' prefix on specific e…
jeresig authored
30 <h2 id="qunit-banner"></h2>
b996026 @jeresig Adapted the jQuery test suite to handle the toolbar moving inline.
jeresig authored
31 <div id="qunit-testrunner-toolbar"></div>
b0306cc @jeresig Updated the jQuery suite to use the new 'qunit-' prefix on specific e…
jeresig authored
32 <h2 id="qunit-userAgent"></h2>
1c7d315 @jeresig Move the test results list above the test HTML to avoid test suite la…
jeresig authored
33 <ol id="qunit-tests"></ol>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
34
35 <!-- Test HTML -->
8e8d7ad @jeresig Merged some recent fixes in from Sizzle.
jeresig authored
36 <div id="nothiddendiv" style="height:1px;background:white;" class="nothiddendiv">
fc51e14 @brandonaaron width and height methods are now working properly
brandonaaron authored
37 <div id="nothiddendivchild"></div>
38 </div>
74a132d @davidserduke Fixed #1264. If you read the bug there were many proposed changes. …
davidserduke authored
39 <!-- this iframe is outside the #main so it won't reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->
40 <iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>
05d401d @jeresig Fixed non-unique results from .parent(), .parents(), .next(), etc. (B…
jeresig authored
41 <dl id="dl" style="display:none;">
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
42 <div id="main" style="display: none;">
43 <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>
44 <p id="ap">
45 Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>,
f9a5849 @jeresig Now handle the case where Safari's querySelectorAll fails on uppercas…
jeresig authored
46 <a id="groups" href="http://groups.google.com/" class="GROUPS">Google Groups (Link)</a>.
8786fa5 @jzaefferer Fix for #745
jzaefferer authored
47 This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>:
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
48 <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
e7a29e4 @jeresig Moved the tests into jQuery proper.
jeresig authored
49
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
50 </p>
51 <div id="foo">
97ea474 @jzaefferer Improved test suite to reset fixture after each test, added selects t…
jzaefferer authored
52 <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
53 <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
de4e28e @jzaefferer Added test for #745
jzaefferer authored
54 <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>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
55
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
56 </div>
f0189d6 @jeresig Fixed the issue where weird characters were being used in ID selector…
jeresig authored
57 <span id="name+value"></span>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
58 <p id="first">Try them out:</p>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
59 <ul id="firstUL"></ul>
60 <ol id="empty"></ol>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
61 <form id="form" action="formaction">
6dc30ae @jeresig Merged Sizzle changes back into jQuery.
jeresig authored
62 <label for="action" id="label-for">Action:</label>
5e99807 @brandonaaron Fix for #1944. Added nodeName and tagName to jQuery.props and tests f…
brandonaaron authored
63 <input type="text" name="action" value="Test" id="text1" maxlength="30"/>
308d771 @jzaefferer Refactored and fixed test suite to run async tests
jzaefferer authored
64 <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
a5dbcaf @jeresig Added support for:
jeresig authored
65 <input type="radio" name="radio1" id="radio1" value="on"/>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
66
3527e8f @jeresig css('display') works slightly differently in Safari. Also, the test s…
jeresig authored
67 <input type="radio" name="radio2" id="radio2" checked="checked"/>
68 <input type="checkbox" name="check" id="check1" checked="checked"/>
a5dbcaf @jeresig Added support for:
jeresig authored
69 <input type="checkbox" id="check2" value="on"/>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
70
71 <input type="hidden" name="hidden" id="hidden1"/>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
72 <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
73
74 <input type="text" id="name" name="name" value="name" />
ca79d86 @jeresig Made it so that search input elements are now serialized. Fixes bug #…
jeresig authored
75 <input type="search" id="search" name="search" value="search" />
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
76
89d2f1e @jeresig Reverting accidental test suite corruption from the Sizzle merge.
jeresig authored
77 <button id="button" name="button" type="button">Button</button>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
78
5e99807 @brandonaaron Fix for #1944. Added nodeName and tagName to jQuery.props and tests f…
brandonaaron authored
79 <textarea id="area1" maxlength="30">foobar</textarea>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
80
81 <select name="select1" id="select1">
da33a98 @davidserduke Fixed #1854 by using wizzud's suggestion. The only real difference i…
davidserduke authored
82 <option id="option1a" class="emptyopt" value="">Nothing</option>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
83 <option id="option1b" value="1">1</option>
84 <option id="option1c" value="2">2</option>
85 <option id="option1d" value="3">3</option>
86 </select>
87 <select name="select2" id="select2">
da33a98 @davidserduke Fixed #1854 by using wizzud's suggestion. The only real difference i…
davidserduke authored
88 <option id="option2a" class="emptyopt" value="">Nothing</option>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
89 <option id="option2b" value="1">1</option>
90 <option id="option2c" value="2">2</option>
91 <option id="option2d" selected="selected" value="3">3</option>
92 </select>
93 <select name="select3" id="select3" multiple="multiple">
da33a98 @davidserduke Fixed #1854 by using wizzud's suggestion. The only real difference i…
davidserduke authored
94 <option id="option3a" class="emptyopt" value="">Nothing</option>
6f7cd66 @brandonaaron Added tests for 193 and 170.
brandonaaron authored
95 <option id="option3b" selected="selected" value="1">1</option>
96 <option id="option3c" selected="selected" value="2">2</option>
97 <option id="option3d" value="3">3</option>
a27b5d0 @flesler jquery core: closes #2652. val() supports option elements, also simpl…
flesler authored
98 <option id="option3e">no value</option>
97ea474 @jzaefferer Improved test suite to reset fixture after each test, added selects t…
jzaefferer authored
99 </select>
e0c7e6a @jzaefferer Updated test for #750
jzaefferer authored
100
101 <object id="object1" codebase="stupid">
955fdb8 @jzaefferer Fixed test for object/param selection (thanks Andrea)
jzaefferer authored
102 <param name="p1" value="x1" />
103 <param name="p2" value="x2" />
e0c7e6a @jzaefferer Updated test for #750
jzaefferer authored
104 </object>
af79bb1 @jeresig Added UTF8 Selector support (#1001) and fixed infinite selector loops…
jeresig authored
105
106 <span id="台北Táiběi"></span>
107 <span id="台北" lang="中文"></span>
108 <span id="utf8class1" class="台北Táiběi 台北"></span>
109 <span id="utf8class2" class="台北"></span>
9c7f8ba @jeresig Fixed some more bugs with the test suite, made some minor file size t…
jeresig authored
110 <span id="foo:bar" class="foo:bar"></span>
111 <span id="test.foo[5]bar" class="test.foo[5]bar"></span>
fce2bdf @jeresig Added support for finding elements that have underscores in their nam…
jeresig authored
112
113 <foo_bar id="foobar">test element</foo_bar>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
114 </form>
14b0902 @brandonaaron Fix and tests for appending HTML options to select elements.
brandonaaron authored
115 <b id="floatTest">Float test.</b>
9c7f8ba @jeresig Fixed some more bugs with the test suite, made some minor file size t…
jeresig authored
116 <iframe id="iframe" name="iframe"></iframe>
117 <form id="lengthtest">
5ed992d @jeresig Making the test suite a little more XML-compliant.
jeresig authored
118 <input type="text" id="length" name="test"/>
119 <input type="text" id="idTest" name="id"/>
4e7c9b0 @jzaefferer Added test for #945
jzaefferer authored
120 </form>
6720904 @brandonaaron Completed test for Rev 1820 (#1044)
brandonaaron authored
121 <table id="table"></table>
4694e53 @jeresig Forgot to merge in some of the new tests from Sizzle.
jeresig authored
122
123 <form id="name-tests">
124 <!-- Inputs with a grouped name attribute. -->
125 <input name="types[]" id="types_all" type="checkbox" value="all" />
126 <input name="types[]" id="types_anime" type="checkbox" value="anime" />
127 <input name="types[]" id="types_movie" type="checkbox" value="movie" />
128 </form>
80a149b @jeresig Integrated the custom fx test suite into the main test suite. All tes…
jeresig authored
129
f96bf10 @jeresig Integration of Mike Alsup's excellent form serialization code. The be…
jeresig authored
130 <form id="testForm" action="#" method="get">
131 <textarea name="T3" rows="2" cols="15">?
132 Z</textarea>
133 <input type="hidden" name="H1" value="x" />
134 <input type="hidden" name="H2" />
135 <input name="PWD" type="password" value="" />
136 <input name="T1" type="text" />
137 <input name="T2" type="text" value="YES" readonly="readonly" />
138 <input type="checkbox" name="C1" value="1" />
139 <input type="checkbox" name="C2" />
140 <input type="radio" name="R1" value="1" />
141 <input type="radio" name="R1" value="2" />
142 <input type="text" name="My Name" value="me" />
143 <input type="reset" name="reset" value="NO" />
e2ef3df @davidserduke Fixed #1095 bug where radio buttons became unchecked during show(). A…
davidserduke authored
144 <select name="S1">
145 <option value="abc">ABC</option>
146 <option value="abc">ABC</option>
147 <option value="abc">ABC</option>
148 </select>
149 <select name="S2" multiple="multiple" size="3">
150 <option value="abc">ABC</option>
151 <option value="abc">ABC</option>
152 <option value="abc">ABC</option>
153 </select>
f96bf10 @jeresig Integration of Mike Alsup's excellent form serialization code. The be…
jeresig authored
154 <select name="S3">
155 <option selected="selected">YES</option>
156 </select>
157 <select name="S4">
158 <option value="" selected="selected">NO</option>
159 </select>
e2ef3df @davidserduke Fixed #1095 bug where radio buttons became unchecked during show(). A…
davidserduke authored
160 <input type="submit" name="sub1" value="NO" />
161 <input type="submit" name="sub2" value="NO" />
74a132d @davidserduke Fixed #1264. If you read the bug there were many proposed changes. …
davidserduke authored
162 <input type="image" name="sub3" value="NO" />
f96bf10 @jeresig Integration of Mike Alsup's excellent form serialization code. The be…
jeresig authored
163 <button name="sub4" type="submit" value="NO">NO</button>
164 <input name="D1" type="text" value="NO" disabled="disabled" />
165 <input type="checkbox" checked="checked" disabled="disabled" name="D2" value="NO" />
166 <input type="radio" name="D3" value="NO" checked="checked" disabled="disabled" />
167 <select name="D4" disabled="disabled">
168 <option selected="selected" value="NO">NO</option>
169 </select>
170 </form>
e2ef3df @davidserduke Fixed #1095 bug where radio buttons became unchecked during show(). A…
davidserduke authored
171 <div id="moretests">
172 <form>
173 <div id="checkedtest" style="display:none;">
174 <input type="radio" name="checkedtestradios" checked="checked"/>
175 <input type="radio" name="checkedtestradios" value="on"/>
176 <input type="checkbox" name="checkedtestcheckboxes" checked="checked"/>
177 <input type="checkbox" name="checkedtestcheckboxes" />
178 </div>
179 </form>
ffbedf0 @davidserduke Fixed #1039 and #1733 by going through the core API and making them t…
davidserduke authored
180 <div id="nonnodes"><span>hi</span> there <!-- mon ami --></div>
6496e4d @davidserduke Fixed #2037 where Opera would mis-state the value of 'display' after …
davidserduke authored
181 <div id="t2037">
182 <div><div class="hidden">hidden</div></div>
183 </div>
e2ef3df @davidserduke Fixed #1095 bug where radio buttons became unchecked during show(). A…
davidserduke authored
184 </div>
122b672 @jeresig Landed cross-browser support for tabIndex, by Scott, closes ticket #3…
jeresig authored
185
186 <div id="tabindex-tests">
9615255 @jeresig Landing a fix for non-link anchor tabIndex (from scott.gonzalez). Fix…
jeresig authored
187 <ol id="listWithTabIndex" tabindex="5">
122b672 @jeresig Landed cross-browser support for tabIndex, by Scott, closes ticket #3…
jeresig authored
188 <li id="foodWithNegativeTabIndex" tabindex="-1">Rice</li>
189 <li id="foodNoTabIndex">Beans</li>
190 <li>Blinis</li>
191 <li>Tofu</li>
192 </ol>
193
194 <div id="divWithNoTabIndex">I'm hungry. I should...</div>
195 <span>...</span><a href="#" id="linkWithNoTabIndex">Eat lots of food</a><span>...</span> |
196 <span>...</span><a href="#" id="linkWithTabIndex" tabindex="2">Eat a little food</a><span>...</span> |
197 <span>...</span><a href="#" id="linkWithNegativeTabIndex" tabindex="-1">Eat no food</a><span>...</span>
9615255 @jeresig Landing a fix for non-link anchor tabIndex (from scott.gonzalez). Fix…
jeresig authored
198 <span>...</span><a id="linkWithNoHrefWithNoTabIndex">Eat a burger</a><span>...</span>
199 <span>...</span><a id="linkWithNoHrefWithTabIndex" tabindex="1">Eat some funyuns</a><span>...</span>
200 <span>...</span><a id="linkWithNoHrefWithNegativeTabIndex" tabindex="-1">Eat some funyuns</a><span>...</span>
122b672 @jeresig Landed cross-browser support for tabIndex, by Scott, closes ticket #3…
jeresig authored
201 </div>
9aa0c69 @jeresig Fixed bubbling of live events (if an inner element handles an event f…
jeresig authored
202
203 <div id="liveHandlerOrder">
204 <span id="liveSpan1"><a href="#" id="liveLink1"></a></span>
205 <span id="liveSpan2"><a href="#" id="liveLink2"></a></span>
206 </div>
f0505c6 @jeresig Bringing Sizzle test suite changes back in.
jeresig authored
207
208 <div id="siblingTest">
209 <em id="siblingfirst">1</em>
210 <em id="siblingnext">2</em>
211 </div>
7448c61 @jeresig Massive overhauls to the test suite - it is now generated dynamically…
jeresig authored
212 </div>
213 </dl>
89d2f1e @jeresig Reverting accidental test suite corruption from the Sizzle merge.
jeresig authored
214 <div id="fx-test-group" style="position:absolute;width:1px;height:1px;overflow:hidden;">
f89f5eb @jeresig Reorganized some of the animation tests to work with the new hide/sho…
jeresig authored
215 <div id="fx-queue" name="test">
216 <div id="fadein" class='chain test' name='div'>fadeIn<div>fadeIn</div></div>
217 <div id="fadeout" class='chain test out'>fadeOut<div>fadeOut</div></div>
218
219 <div id="show" class='chain test'>show<div>show</div></div>
220 <div id="hide" class='chain test out'>hide<div>hide</div></div>
221
222 <div id="togglein" class='chain test'>togglein<div>togglein</div></div>
223 <div id="toggleout" class='chain test out'>toggleout<div>toggleout</div></div>
224
225
226 <div id="slideup" class='chain test'>slideUp<div>slideUp</div></div>
227 <div id="slidedown" class='chain test out'>slideDown<div>slideDown</div></div>
228
229 <div id="slidetogglein" class='chain test'>slideToggleIn<div>slideToggleIn</div></div>
230 <div id="slidetoggleout" class='chain test out'>slideToggleOut<div>slideToggleOut</div></div>
231 </div>
232
233 <div id="fx-tests"></div>
234 </div>
e7a29e4 @jeresig Moved the tests into jQuery proper.
jeresig authored
235 </body>
236 </html>
Something went wrong with that request. Please try again.