0
|
1 <?php
|
|
2 header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
|
|
3 header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
|
|
4 header( 'Cache-Control: no-store, no-cache, must-revalidate' );
|
|
5 header( 'Cache-Control: post-check=0, pre-check=0', false );
|
|
6 header( 'Pragma: no-cache' );
|
|
7 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
8 <html>
|
|
9 <head>
|
|
10 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
11 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" />
|
|
12
|
|
13 <title>DataTables unit testing</title>
|
|
14 <style type="text/css" title="currentStyle">
|
|
15 @import "../../css/demo_page.css";
|
|
16 @import "../../css/demo_table.css";
|
|
17 </style>
|
|
18 <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
|
|
19 <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
|
|
20 <script type="text/javascript" language="javascript" src="../unit_test.js"></script>
|
|
21 <?php
|
|
22 $aScripts = explode( ":", $_GET['scripts'] );
|
|
23 for ( $i=0 ; $i<count($aScripts) ; $i++ )
|
|
24 {
|
|
25 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
|
|
26 }
|
|
27 ?>
|
|
28 </head>
|
|
29 <body id="dt_example">
|
|
30 <div id="container">
|
|
31 <div class="full_width big">
|
|
32 <i>DataTables</i> unit test template for reading DOM data
|
|
33 </div>
|
|
34
|
|
35 <div id="demo">
|
|
36 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
|
|
37 <thead>
|
|
38 <tr>
|
|
39 <th>Rendering engine</th>
|
|
40 <th>Browser</th>
|
|
41 <th>Platform(s)</th>
|
|
42 <th>Engine version</th>
|
|
43 <th>CSS grade</th>
|
|
44 </tr>
|
|
45 </thead>
|
|
46 <tbody>
|
|
47 <tr class="gradeX">
|
|
48 <td>Trident</td>
|
|
49 <td>testsearchstring <br>html & entity</td>
|
|
50 <td>Win 95+</td>
|
|
51 <td class="center">4</td>
|
|
52 <td class="center">X</td>
|
|
53 </tr>
|
|
54 <tr class="gradeC">
|
|
55 <td>Trident</td>
|
|
56 <td>Internet
|
|
57 Explorer 5.0</td>
|
|
58 <td>Win 95+</td>
|
|
59 <td class="center">5</td>
|
|
60 <td class="center">C</td>
|
|
61 </tr>
|
|
62 <tr class="gradeA">
|
|
63 <td>Trident</td>
|
|
64 <td>Internet
|
|
65 Explorer 5.5</td>
|
|
66 <td>Win 95+</td>
|
|
67 <td class="center">5.5</td>
|
|
68 <td class="center">A</td>
|
|
69 </tr>
|
|
70 <tr class="gradeA">
|
|
71 <td>Trident</td>
|
|
72 <td>Internet
|
|
73 Explorer 6</td>
|
|
74 <td>Win 98+</td>
|
|
75 <td class="center">6</td>
|
|
76 <td class="center">A</td>
|
|
77 </tr>
|
|
78 <tr class="gradeA">
|
|
79 <td>Trident</td>
|
|
80 <td>Internet Explorer 7</td>
|
|
81 <td>Win XP SP2+</td>
|
|
82 <td class="center">7</td>
|
|
83 <td class="center">A</td>
|
|
84 </tr>
|
|
85 <tr class="gradeA">
|
|
86 <td>Trident</td>
|
|
87 <td>AOL browser (AOL desktop)</td>
|
|
88 <td>Win XP</td>
|
|
89 <td class="center">6</td>
|
|
90 <td class="center">A</td>
|
|
91 </tr>
|
|
92 <tr class="gradeA">
|
|
93 <td>Gecko</td>
|
|
94 <td>Firefox 1.0</td>
|
|
95 <td>Win 98+ / OSX.2+</td>
|
|
96 <td class="center">1.7</td>
|
|
97 <td class="center">A</td>
|
|
98 </tr>
|
|
99 <tr class="gradeA">
|
|
100 <td>Gecko</td>
|
|
101 <td>Firefox 1.5</td>
|
|
102 <td>Win 98+ / OSX.2+</td>
|
|
103 <td class="center">1.8</td>
|
|
104 <td class="center">A</td>
|
|
105 </tr>
|
|
106 <tr class="gradeA">
|
|
107 <td>Gecko</td>
|
|
108 <td>Firefox 2.0</td>
|
|
109 <td>Win 98+ / OSX.2+</td>
|
|
110 <td class="center">1.8</td>
|
|
111 <td class="center">A</td>
|
|
112 </tr>
|
|
113 <tr class="gradeA">
|
|
114 <td>Gecko</td>
|
|
115 <td>Firefox 3.0</td>
|
|
116 <td>Win 2k+ / OSX.3+</td>
|
|
117 <td class="center">1.9</td>
|
|
118 <td class="center">A</td>
|
|
119 </tr>
|
|
120 <tr class="gradeA">
|
|
121 <td>Gecko</td>
|
|
122 <td>Camino 1.0</td>
|
|
123 <td>OSX.2+</td>
|
|
124 <td class="center">1.8</td>
|
|
125 <td class="center">A</td>
|
|
126 </tr>
|
|
127 <tr class="gradeA">
|
|
128 <td>Gecko</td>
|
|
129 <td>Camino 1.5</td>
|
|
130 <td>OSX.3+</td>
|
|
131 <td class="center">1.8</td>
|
|
132 <td class="center">A</td>
|
|
133 </tr>
|
|
134 <tr class="gradeA">
|
|
135 <td>Gecko</td>
|
|
136 <td>Netscape 7.2</td>
|
|
137 <td>Win 95+ / Mac OS 8.6-9.2</td>
|
|
138 <td class="center">1.7</td>
|
|
139 <td class="center">A</td>
|
|
140 </tr>
|
|
141 <tr class="gradeA">
|
|
142 <td>Gecko</td>
|
|
143 <td>Netscape Browser 8</td>
|
|
144 <td>Win 98SE+</td>
|
|
145 <td class="center">1.7</td>
|
|
146 <td class="center">A</td>
|
|
147 </tr>
|
|
148 <tr class="gradeA">
|
|
149 <td>Gecko</td>
|
|
150 <td>Netscape Navigator 9</td>
|
|
151 <td>Win 98+ / OSX.2+</td>
|
|
152 <td class="center">1.8</td>
|
|
153 <td class="center">A</td>
|
|
154 </tr>
|
|
155 <tr class="gradeA">
|
|
156 <td>Gecko</td>
|
|
157 <td>Mozilla 1.0</td>
|
|
158 <td>Win 95+ / OSX.1+</td>
|
|
159 <td class="center">1</td>
|
|
160 <td class="center">A</td>
|
|
161 </tr>
|
|
162 <tr class="gradeA">
|
|
163 <td>Gecko</td>
|
|
164 <td>Mozilla 1.1</td>
|
|
165 <td>Win 95+ / OSX.1+</td>
|
|
166 <td class="center">1.1</td>
|
|
167 <td class="center">A</td>
|
|
168 </tr>
|
|
169 <tr class="gradeA">
|
|
170 <td>Gecko</td>
|
|
171 <td>Mozilla 1.2</td>
|
|
172 <td>Win 95+ / OSX.1+</td>
|
|
173 <td class="center">1.2</td>
|
|
174 <td class="center">A</td>
|
|
175 </tr>
|
|
176 <tr class="gradeA">
|
|
177 <td>Gecko</td>
|
|
178 <td>Mozilla 1.3</td>
|
|
179 <td>Win 95+ / OSX.1+</td>
|
|
180 <td class="center">1.3</td>
|
|
181 <td class="center">A</td>
|
|
182 </tr>
|
|
183 <tr class="gradeA">
|
|
184 <td>Gecko</td>
|
|
185 <td>Mozilla 1.4</td>
|
|
186 <td>Win 95+ / OSX.1+</td>
|
|
187 <td class="center">1.4</td>
|
|
188 <td class="center">A</td>
|
|
189 </tr>
|
|
190 <tr class="gradeA">
|
|
191 <td>Gecko</td>
|
|
192 <td>Mozilla 1.5</td>
|
|
193 <td>Win 95+ / OSX.1+</td>
|
|
194 <td class="center">1.5</td>
|
|
195 <td class="center">A</td>
|
|
196 </tr>
|
|
197 <tr class="gradeA">
|
|
198 <td>Gecko</td>
|
|
199 <td>Mozilla 1.6</td>
|
|
200 <td>Win 95+ / OSX.1+</td>
|
|
201 <td class="center">1.6</td>
|
|
202 <td class="center">A</td>
|
|
203 </tr>
|
|
204 <tr class="gradeA">
|
|
205 <td>Gecko</td>
|
|
206 <td>Mozilla 1.7</td>
|
|
207 <td>Win 98+ / OSX.1+</td>
|
|
208 <td class="center">1.7</td>
|
|
209 <td class="center">A</td>
|
|
210 </tr>
|
|
211 <tr class="gradeA">
|
|
212 <td>Gecko</td>
|
|
213 <td>Mozilla 1.8</td>
|
|
214 <td>Win 98+ / OSX.1+</td>
|
|
215 <td class="center">1.8</td>
|
|
216 <td class="center">A</td>
|
|
217 </tr>
|
|
218 <tr class="gradeA">
|
|
219 <td>Gecko</td>
|
|
220 <td>Seamonkey 1.1</td>
|
|
221 <td>Win 98+ / OSX.2+</td>
|
|
222 <td class="center">1.8</td>
|
|
223 <td class="center">A</td>
|
|
224 </tr>
|
|
225 <tr class="gradeA">
|
|
226 <td>Gecko</td>
|
|
227 <td>Epiphany 2.20</td>
|
|
228 <td>Gnome</td>
|
|
229 <td class="center">1.8</td>
|
|
230 <td class="center">A</td>
|
|
231 </tr>
|
|
232 <tr class="gradeA">
|
|
233 <td>Webkit</td>
|
|
234 <td>Safari 1.2</td>
|
|
235 <td>OSX.3</td>
|
|
236 <td class="center">125.5</td>
|
|
237 <td class="center">A</td>
|
|
238 </tr>
|
|
239 <tr class="gradeA">
|
|
240 <td>Webkit</td>
|
|
241 <td>Safari 1.3</td>
|
|
242 <td>OSX.3</td>
|
|
243 <td class="center">312.8</td>
|
|
244 <td class="center">A</td>
|
|
245 </tr>
|
|
246 <tr class="gradeA">
|
|
247 <td>Webkit</td>
|
|
248 <td>Safari 2.0</td>
|
|
249 <td>OSX.4+</td>
|
|
250 <td class="center">419.3</td>
|
|
251 <td class="center">A</td>
|
|
252 </tr>
|
|
253 <tr class="gradeA">
|
|
254 <td>Webkit</td>
|
|
255 <td>Safari 3.0</td>
|
|
256 <td>OSX.4+</td>
|
|
257 <td class="center">522.1</td>
|
|
258 <td class="center">A</td>
|
|
259 </tr>
|
|
260 <tr class="gradeA">
|
|
261 <td>Webkit</td>
|
|
262 <td>OmniWeb 5.5</td>
|
|
263 <td>OSX.4+</td>
|
|
264 <td class="center">420</td>
|
|
265 <td class="center">A</td>
|
|
266 </tr>
|
|
267 <tr class="gradeA">
|
|
268 <td>Webkit</td>
|
|
269 <td>iPod Touch / iPhone</td>
|
|
270 <td>iPod</td>
|
|
271 <td class="center">420.1</td>
|
|
272 <td class="center">A</td>
|
|
273 </tr>
|
|
274 <tr class="gradeA">
|
|
275 <td>Webkit</td>
|
|
276 <td>S60</td>
|
|
277 <td>S60</td>
|
|
278 <td class="center">413</td>
|
|
279 <td class="center">A</td>
|
|
280 </tr>
|
|
281 <tr class="gradeA">
|
|
282 <td>Presto</td>
|
|
283 <td>Opera 7.0</td>
|
|
284 <td>Win 95+ / OSX.1+</td>
|
|
285 <td class="center">-</td>
|
|
286 <td class="center">A</td>
|
|
287 </tr>
|
|
288 <tr class="gradeA">
|
|
289 <td>Presto</td>
|
|
290 <td>Opera 7.5</td>
|
|
291 <td>Win 95+ / OSX.2+</td>
|
|
292 <td class="center">-</td>
|
|
293 <td class="center">A</td>
|
|
294 </tr>
|
|
295 <tr class="gradeA">
|
|
296 <td>Presto</td>
|
|
297 <td>Opera 8.0</td>
|
|
298 <td>Win 95+ / OSX.2+</td>
|
|
299 <td class="center">-</td>
|
|
300 <td class="center">A</td>
|
|
301 </tr>
|
|
302 <tr class="gradeA">
|
|
303 <td>Presto</td>
|
|
304 <td>Opera 8.5</td>
|
|
305 <td>Win 95+ / OSX.2+</td>
|
|
306 <td class="center">-</td>
|
|
307 <td class="center">A</td>
|
|
308 </tr>
|
|
309 <tr class="gradeA">
|
|
310 <td>Presto</td>
|
|
311 <td>Opera 9.0</td>
|
|
312 <td>Win 95+ / OSX.3+</td>
|
|
313 <td class="center">-</td>
|
|
314 <td class="center">A</td>
|
|
315 </tr>
|
|
316 <tr class="gradeA">
|
|
317 <td>Presto</td>
|
|
318 <td>Opera 9.2</td>
|
|
319 <td>Win 88+ / OSX.3+</td>
|
|
320 <td class="center">-</td>
|
|
321 <td class="center">A</td>
|
|
322 </tr>
|
|
323 <tr class="gradeA">
|
|
324 <td>Presto</td>
|
|
325 <td>Opera 9.5</td>
|
|
326 <td>Win 88+ / OSX.3+</td>
|
|
327 <td class="center">-</td>
|
|
328 <td class="center">A</td>
|
|
329 </tr>
|
|
330 <tr class="gradeA">
|
|
331 <td>Presto</td>
|
|
332 <td>Opera for Wii</td>
|
|
333 <td>Wii</td>
|
|
334 <td class="center">-</td>
|
|
335 <td class="center">A</td>
|
|
336 </tr>
|
|
337 <tr class="gradeA">
|
|
338 <td>Presto</td>
|
|
339 <td>Nokia N800</td>
|
|
340 <td>N800</td>
|
|
341 <td class="center">-</td>
|
|
342 <td class="center">A</td>
|
|
343 </tr>
|
|
344 <tr class="gradeA">
|
|
345 <td>Presto</td>
|
|
346 <td>Nintendo DS browser</td>
|
|
347 <td>Nintendo DS</td>
|
|
348 <td class="center">8.5</td>
|
|
349 <td class="center">C/A<sup>1</sup></td>
|
|
350 </tr>
|
|
351 <tr class="gradeC">
|
|
352 <td>KHTML</td>
|
|
353 <td>Konqureror 3.1</td>
|
|
354 <td>KDE 3.1</td>
|
|
355 <td class="center">3.1</td>
|
|
356 <td class="center">C</td>
|
|
357 </tr>
|
|
358 <tr class="gradeA">
|
|
359 <td>KHTML</td>
|
|
360 <td>Konqureror 3.3</td>
|
|
361 <td>KDE 3.3</td>
|
|
362 <td class="center">3.3</td>
|
|
363 <td class="center">A</td>
|
|
364 </tr>
|
|
365 <tr class="gradeA">
|
|
366 <td>KHTML</td>
|
|
367 <td>Konqureror 3.5</td>
|
|
368 <td>KDE 3.5</td>
|
|
369 <td class="center">3.5</td>
|
|
370 <td class="center">A</td>
|
|
371 </tr>
|
|
372 <tr class="gradeX">
|
|
373 <td>Tasman</td>
|
|
374 <td>Internet Explorer 4.5</td>
|
|
375 <td>Mac OS 8-9</td>
|
|
376 <td class="center">-</td>
|
|
377 <td class="center">X</td>
|
|
378 </tr>
|
|
379 <tr class="gradeC">
|
|
380 <td>Tasman</td>
|
|
381 <td>Internet Explorer 5.1</td>
|
|
382 <td>Mac OS 7.6-9</td>
|
|
383 <td class="center">1</td>
|
|
384 <td class="center">C</td>
|
|
385 </tr>
|
|
386 <tr class="gradeC">
|
|
387 <td>Tasman</td>
|
|
388 <td>Internet Explorer 5.2</td>
|
|
389 <td>Mac OS 8-X</td>
|
|
390 <td class="center">1</td>
|
|
391 <td class="center">C</td>
|
|
392 </tr>
|
|
393 <tr class="gradeA">
|
|
394 <td>Misc</td>
|
|
395 <td>NetFront 3.1</td>
|
|
396 <td>Embedded devices</td>
|
|
397 <td class="center">-</td>
|
|
398 <td class="center">C</td>
|
|
399 </tr>
|
|
400 <tr class="gradeA">
|
|
401 <td>Misc</td>
|
|
402 <td>NetFront 3.4</td>
|
|
403 <td>Embedded devices</td>
|
|
404 <td class="center">-</td>
|
|
405 <td class="center">A</td>
|
|
406 </tr>
|
|
407 <tr class="gradeX">
|
|
408 <td>Misc</td>
|
|
409 <td>Dillo 0.8</td>
|
|
410 <td>Embedded devices</td>
|
|
411 <td class="center">-</td>
|
|
412 <td class="center">X</td>
|
|
413 </tr>
|
|
414 <tr class="gradeX">
|
|
415 <td>Misc</td>
|
|
416 <td>Links</td>
|
|
417 <td>Text only</td>
|
|
418 <td class="center">-</td>
|
|
419 <td class="center">X</td>
|
|
420 </tr>
|
|
421 <tr class="gradeX">
|
|
422 <td>Misc</td>
|
|
423 <td>Lynx</td>
|
|
424 <td>Text only</td>
|
|
425 <td class="center">-</td>
|
|
426 <td class="center">X</td>
|
|
427 </tr>
|
|
428 <tr class="gradeC">
|
|
429 <td>Misc</td>
|
|
430 <td>IE Mobile</td>
|
|
431 <td>Windows Mobile 6</td>
|
|
432 <td class="center">-</td>
|
|
433 <td class="center">C</td>
|
|
434 </tr>
|
|
435 <tr class="gradeC">
|
|
436 <td>Misc</td>
|
|
437 <td>PSP browser</td>
|
|
438 <td>PSP</td>
|
|
439 <td class="center">-</td>
|
|
440 <td class="center">C</td>
|
|
441 </tr>
|
|
442 <tr class="gradeU">
|
|
443 <td>Other browsers</td>
|
|
444 <td>All others</td>
|
|
445 <td>-</td>
|
|
446 <td class="center">-</td>
|
|
447 <td class="center">U</td>
|
|
448 </tr>
|
|
449 </tbody>
|
|
450 <tfoot>
|
|
451 <tr>
|
|
452 <th>Rendering engine</th>
|
|
453 <th>Browser</th>
|
|
454 <th>Platform(s)</th>
|
|
455 <th>Engine version</th>
|
|
456 <th>CSS grade</th>
|
|
457 </tr>
|
|
458 </tfoot>
|
|
459 </table>
|
|
460 </div>
|
|
461 <div class="spacer"></div>
|
|
462 </div>
|
|
463 </body>
|
|
464 </html> |