Bug Tracker

Ticket #5754: test.html

File test.html, 16.4 KB (added by Kezzer, 12 years ago)

file showing :visible bug

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3<html xmlns="http://www.w3.org/1999/xhtml" >
4<head>
5  <title></title>
6  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
7  <script type="text/javascript">
8        $(function() {
9                $("tr:not(.highlight):visible:even").addClass("odd");
10               
11                $("a").click(function() {
12                        $("tr.hideme").hide();
13                        $("tr").removeClass("odd");
14                        $("tr:visible:even").addClass("odd");
15                        // $("tr:not(:hidden):even").addClass("odd"); // test me!
16                });
17        });
18  </script>
19 
20  <style type="text/css">
21        table { border:solid 1px #ccc; }
22        td { border-bottom:solid 1px #ddd; padding:4px 6px; margin:0; }
23        .odd { background-color:#ddd; }
24        .highlight { background-color:#b4b4b4; }
25  </style>
26</head>
27
28<body>
29
30<a href="#">click me!</a>
31
32<table>
33        <tr>
34                <td> row 1, column 1 </td>
35                <td> row 1, column 2 </td>
36                <td> row 1, column 3 </td>
37                <td> row 1, column 4 </td>
38                <td> row 1, column 5 </td>
39        </tr>
40        <tr>
41                <td> row 2, column 1 </td>
42                <td> row 2, column 2 </td>
43                <td> row 2, column 3 </td>
44                <td> row 2, column 4 </td>
45                <td> row 2, column 5 </td>
46        </tr>
47<tr class="hideme">
48<td> row 3, column 1 </td>
49<td> row 3, column 2 </td>
50<td> row 3, column 3 </td>
51<td> row 3, column 4 </td>
52<td> row 3, column 5 </td>
53</tr>
54<tr class="highlight">
55<td> row 4, column 1 </td>
56<td> row 4, column 2 </td>
57<td> row 4, column 3 </td>
58<td> row 4, column 4 </td>
59<td> row 4, column 5 </td>
60</tr>
61<tr>
62<td> row 5, column 1 </td>
63<td> row 5, column 2 </td>
64<td> row 5, column 3 </td>
65<td> row 5, column 4 </td>
66<td> row 5, column 5 </td>
67</tr>
68<tr>
69<td> row 6, column 1 </td>
70<td> row 6, column 2 </td>
71<td> row 6, column 3 </td>
72<td> row 6, column 4 </td>
73<td> row 6, column 5 </td>
74</tr>
75<tr>
76<td> row 7, column 1 </td>
77<td> row 7, column 2 </td>
78<td> row 7, column 3 </td>
79<td> row 7, column 4 </td>
80<td> row 7, column 5 </td>
81</tr>
82<tr class="hideme">
83<td> row 8, column 1 </td>
84<td> row 8, column 2 </td>
85<td> row 8, column 3 </td>
86<td> row 8, column 4 </td>
87<td> row 8, column 5 </td>
88</tr>
89<tr>
90<td> row 9, column 1 </td>
91<td> row 9, column 2 </td>
92<td> row 9, column 3 </td>
93<td> row 9, column 4 </td>
94<td> row 9, column 5 </td>
95</tr>
96<tr>
97<td> row 10, column 1 </td>
98<td> row 10, column 2 </td>
99<td> row 10, column 3 </td>
100<td> row 10, column 4 </td>
101<td> row 10, column 5 </td>
102</tr>
103<tr>
104<td> row 11, column 1 </td>
105<td> row 11, column 2 </td>
106<td> row 11, column 3 </td>
107<td> row 11, column 4 </td>
108<td> row 11, column 5 </td>
109</tr>
110<tr class="hideme">
111<td> row 12, column 1 </td>
112<td> row 12, column 2 </td>
113<td> row 12, column 3 </td>
114<td> row 12, column 4 </td>
115<td> row 12, column 5 </td>
116</tr>
117<tr class="hideme">
118<td> row 13, column 1 </td>
119<td> row 13, column 2 </td>
120<td> row 13, column 3 </td>
121<td> row 13, column 4 </td>
122<td> row 13, column 5 </td>
123</tr>
124<tr>
125<td> row 14, column 1 </td>
126<td> row 14, column 2 </td>
127<td> row 14, column 3 </td>
128<td> row 14, column 4 </td>
129<td> row 14, column 5 </td>
130</tr>
131<tr>
132<td> row 15, column 1 </td>
133<td> row 15, column 2 </td>
134<td> row 15, column 3 </td>
135<td> row 15, column 4 </td>
136<td> row 15, column 5 </td>
137</tr>
138<tr>
139<td> row 16, column 1 </td>
140<td> row 16, column 2 </td>
141<td> row 16, column 3 </td>
142<td> row 16, column 4 </td>
143<td> row 16, column 5 </td>
144</tr>
145<tr>
146<td> row 17, column 1 </td>
147<td> row 17, column 2 </td>
148<td> row 17, column 3 </td>
149<td> row 17, column 4 </td>
150<td> row 17, column 5 </td>
151</tr>
152<tr>
153<td> row 18, column 1 </td>
154<td> row 18, column 2 </td>
155<td> row 18, column 3 </td>
156<td> row 18, column 4 </td>
157<td> row 18, column 5 </td>
158</tr>
159<tr>
160<td> row 19, column 1 </td>
161<td> row 19, column 2 </td>
162<td> row 19, column 3 </td>
163<td> row 19, column 4 </td>
164<td> row 19, column 5 </td>
165</tr>
166<tr>
167<td> row 20, column 1 </td>
168<td> row 20, column 2 </td>
169<td> row 20, column 3 </td>
170<td> row 20, column 4 </td>
171<td> row 20, column 5 </td>
172</tr>
173<tr>
174<td> row 21, column 1 </td>
175<td> row 21, column 2 </td>
176<td> row 21, column 3 </td>
177<td> row 21, column 4 </td>
178<td> row 21, column 5 </td>
179</tr>
180<tr>
181<td> row 22, column 1 </td>
182<td> row 22, column 2 </td>
183<td> row 22, column 3 </td>
184<td> row 22, column 4 </td>
185<td> row 22, column 5 </td>
186</tr>
187<tr>
188<td> row 23, column 1 </td>
189<td> row 23, column 2 </td>
190<td> row 23, column 3 </td>
191<td> row 23, column 4 </td>
192<td> row 23, column 5 </td>
193</tr>
194<tr>
195<td> row 24, column 1 </td>
196<td> row 24, column 2 </td>
197<td> row 24, column 3 </td>
198<td> row 24, column 4 </td>
199<td> row 24, column 5 </td>
200</tr>
201<tr>
202<td> row 25, column 1 </td>
203<td> row 25, column 2 </td>
204<td> row 25, column 3 </td>
205<td> row 25, column 4 </td>
206<td> row 25, column 5 </td>
207</tr>
208<tr>
209<td> row 26, column 1 </td>
210<td> row 26, column 2 </td>
211<td> row 26, column 3 </td>
212<td> row 26, column 4 </td>
213<td> row 26, column 5 </td>
214</tr>
215<tr>
216<td> row 27, column 1 </td>
217<td> row 27, column 2 </td>
218<td> row 27, column 3 </td>
219<td> row 27, column 4 </td>
220<td> row 27, column 5 </td>
221</tr>
222<tr>
223<td> row 28, column 1 </td>
224<td> row 28, column 2 </td>
225<td> row 28, column 3 </td>
226<td> row 28, column 4 </td>
227<td> row 28, column 5 </td>
228</tr>
229<tr>
230<td> row 29, column 1 </td>
231<td> row 29, column 2 </td>
232<td> row 29, column 3 </td>
233<td> row 29, column 4 </td>
234<td> row 29, column 5 </td>
235</tr>
236<tr>
237<td> row 30, column 1 </td>
238<td> row 30, column 2 </td>
239<td> row 30, column 3 </td>
240<td> row 30, column 4 </td>
241<td> row 30, column 5 </td>
242</tr>
243<tr>
244<td> row 31, column 1 </td>
245<td> row 31, column 2 </td>
246<td> row 31, column 3 </td>
247<td> row 31, column 4 </td>
248<td> row 31, column 5 </td>
249</tr>
250<tr>
251<td> row 32, column 1 </td>
252<td> row 32, column 2 </td>
253<td> row 32, column 3 </td>
254<td> row 32, column 4 </td>
255<td> row 32, column 5 </td>
256</tr>
257<tr>
258<td> row 33, column 1 </td>
259<td> row 33, column 2 </td>
260<td> row 33, column 3 </td>
261<td> row 33, column 4 </td>
262<td> row 33, column 5 </td>
263</tr>
264<tr>
265<td> row 34, column 1 </td>
266<td> row 34, column 2 </td>
267<td> row 34, column 3 </td>
268<td> row 34, column 4 </td>
269<td> row 34, column 5 </td>
270</tr>
271<tr>
272<td> row 35, column 1 </td>
273<td> row 35, column 2 </td>
274<td> row 35, column 3 </td>
275<td> row 35, column 4 </td>
276<td> row 35, column 5 </td>
277</tr>
278<tr>
279<td> row 36, column 1 </td>
280<td> row 36, column 2 </td>
281<td> row 36, column 3 </td>
282<td> row 36, column 4 </td>
283<td> row 36, column 5 </td>
284</tr>
285<tr>
286<td> row 37, column 1 </td>
287<td> row 37, column 2 </td>
288<td> row 37, column 3 </td>
289<td> row 37, column 4 </td>
290<td> row 37, column 5 </td>
291</tr>
292<tr>
293<td> row 38, column 1 </td>
294<td> row 38, column 2 </td>
295<td> row 38, column 3 </td>
296<td> row 38, column 4 </td>
297<td> row 38, column 5 </td>
298</tr>
299<tr>
300<td> row 39, column 1 </td>
301<td> row 39, column 2 </td>
302<td> row 39, column 3 </td>
303<td> row 39, column 4 </td>
304<td> row 39, column 5 </td>
305</tr>
306<tr>
307<td> row 40, column 1 </td>
308<td> row 40, column 2 </td>
309<td> row 40, column 3 </td>
310<td> row 40, column 4 </td>
311<td> row 40, column 5 </td>
312</tr>
313<tr class="hideme">
314<td> row 41, column 1 </td>
315<td> row 41, column 2 </td>
316<td> row 41, column 3 </td>
317<td> row 41, column 4 </td>
318<td> row 41, column 5 </td>
319</tr>
320<tr class="hideme">
321<td> row 42, column 1 </td>
322<td> row 42, column 2 </td>
323<td> row 42, column 3 </td>
324<td> row 42, column 4 </td>
325<td> row 42, column 5 </td>
326</tr>
327<tr>
328<td> row 43, column 1 </td>
329<td> row 43, column 2 </td>
330<td> row 43, column 3 </td>
331<td> row 43, column 4 </td>
332<td> row 43, column 5 </td>
333</tr>
334<tr class="hideme">
335<td> row 44, column 1 </td>
336<td> row 44, column 2 </td>
337<td> row 44, column 3 </td>
338<td> row 44, column 4 </td>
339<td> row 44, column 5 </td>
340</tr>
341<tr class="hideme">
342<td> row 45, column 1 </td>
343<td> row 45, column 2 </td>
344<td> row 45, column 3 </td>
345<td> row 45, column 4 </td>
346<td> row 45, column 5 </td>
347</tr>
348<tr class="hideme">
349<td> row 46, column 1 </td>
350<td> row 46, column 2 </td>
351<td> row 46, column 3 </td>
352<td> row 46, column 4 </td>
353<td> row 46, column 5 </td>
354</tr>
355<tr class="hideme">
356<td> row 47, column 1 </td>
357<td> row 47, column 2 </td>
358<td> row 47, column 3 </td>
359<td> row 47, column 4 </td>
360<td> row 47, column 5 </td>
361</tr>
362<tr class="hideme">
363<td> row 48, column 1 </td>
364<td> row 48, column 2 </td>
365<td> row 48, column 3 </td>
366<td> row 48, column 4 </td>
367<td> row 48, column 5 </td>
368</tr>
369<tr>
370<td> row 49, column 1 </td>
371<td> row 49, column 2 </td>
372<td> row 49, column 3 </td>
373<td> row 49, column 4 </td>
374<td> row 49, column 5 </td>
375</tr>
376<tr>
377<td> row 50, column 1 </td>
378<td> row 50, column 2 </td>
379<td> row 50, column 3 </td>
380<td> row 50, column 4 </td>
381<td> row 50, column 5 </td>
382</tr>
383<tr>
384<td> row 51, column 1 </td>
385<td> row 51, column 2 </td>
386<td> row 51, column 3 </td>
387<td> row 51, column 4 </td>
388<td> row 51, column 5 </td>
389</tr>
390<tr>
391<td> row 52, column 1 </td>
392<td> row 52, column 2 </td>
393<td> row 52, column 3 </td>
394<td> row 52, column 4 </td>
395<td> row 52, column 5 </td>
396</tr>
397<tr class="highlight">
398<td> row 53, column 1 </td>
399<td> row 53, column 2 </td>
400<td> row 53, column 3 </td>
401<td> row 53, column 4 </td>
402<td> row 53, column 5 </td>
403</tr>
404<tr>
405<td> row 54, column 1 </td>
406<td> row 54, column 2 </td>
407<td> row 54, column 3 </td>
408<td> row 54, column 4 </td>
409<td> row 54, column 5 </td>
410</tr>
411<tr>
412<td> row 55, column 1 </td>
413<td> row 55, column 2 </td>
414<td> row 55, column 3 </td>
415<td> row 55, column 4 </td>
416<td> row 55, column 5 </td>
417</tr>
418<tr>
419<td> row 56, column 1 </td>
420<td> row 56, column 2 </td>
421<td> row 56, column 3 </td>
422<td> row 56, column 4 </td>
423<td> row 56, column 5 </td>
424</tr>
425<tr>
426<td> row 57, column 1 </td>
427<td> row 57, column 2 </td>
428<td> row 57, column 3 </td>
429<td> row 57, column 4 </td>
430<td> row 57, column 5 </td>
431</tr>
432<tr>
433<td> row 58, column 1 </td>
434<td> row 58, column 2 </td>
435<td> row 58, column 3 </td>
436<td> row 58, column 4 </td>
437<td> row 58, column 5 </td>
438</tr>
439<tr>
440<td> row 59, column 1 </td>
441<td> row 59, column 2 </td>
442<td> row 59, column 3 </td>
443<td> row 59, column 4 </td>
444<td> row 59, column 5 </td>
445</tr>
446<tr>
447<td> row 60, column 1 </td>
448<td> row 60, column 2 </td>
449<td> row 60, column 3 </td>
450<td> row 60, column 4 </td>
451<td> row 60, column 5 </td>
452</tr>
453<tr>
454<td> row 61, column 1 </td>
455<td> row 61, column 2 </td>
456<td> row 61, column 3 </td>
457<td> row 61, column 4 </td>
458<td> row 61, column 5 </td>
459</tr>
460<tr class="highlight">
461<td> row 62, column 1 </td>
462<td> row 62, column 2 </td>
463<td> row 62, column 3 </td>
464<td> row 62, column 4 </td>
465<td> row 62, column 5 </td>
466</tr>
467<tr class="highlight">
468<td> row 63, column 1 </td>
469<td> row 63, column 2 </td>
470<td> row 63, column 3 </td>
471<td> row 63, column 4 </td>
472<td> row 63, column 5 </td>
473</tr>
474<tr class="highlight">
475<td> row 64, column 1 </td>
476<td> row 64, column 2 </td>
477<td> row 64, column 3 </td>
478<td> row 64, column 4 </td>
479<td> row 64, column 5 </td>
480</tr>
481<tr>
482<td> row 65, column 1 </td>
483<td> row 65, column 2 </td>
484<td> row 65, column 3 </td>
485<td> row 65, column 4 </td>
486<td> row 65, column 5 </td>
487</tr>
488<tr>
489<td> row 66, column 1 </td>
490<td> row 66, column 2 </td>
491<td> row 66, column 3 </td>
492<td> row 66, column 4 </td>
493<td> row 66, column 5 </td>
494</tr>
495<tr>
496<td> row 67, column 1 </td>
497<td> row 67, column 2 </td>
498<td> row 67, column 3 </td>
499<td> row 67, column 4 </td>
500<td> row 67, column 5 </td>
501</tr>
502<tr>
503<td> row 68, column 1 </td>
504<td> row 68, column 2 </td>
505<td> row 68, column 3 </td>
506<td> row 68, column 4 </td>
507<td> row 68, column 5 </td>
508</tr>
509<tr>
510<td> row 69, column 1 </td>
511<td> row 69, column 2 </td>
512<td> row 69, column 3 </td>
513<td> row 69, column 4 </td>
514<td> row 69, column 5 </td>
515</tr>
516<tr>
517<td> row 70, column 1 </td>
518<td> row 70, column 2 </td>
519<td> row 70, column 3 </td>
520<td> row 70, column 4 </td>
521<td> row 70, column 5 </td>
522</tr>
523<tr>
524<td> row 71, column 1 </td>
525<td> row 71, column 2 </td>
526<td> row 71, column 3 </td>
527<td> row 71, column 4 </td>
528<td> row 71, column 5 </td>
529</tr>
530<tr>
531<td> row 72, column 1 </td>
532<td> row 72, column 2 </td>
533<td> row 72, column 3 </td>
534<td> row 72, column 4 </td>
535<td> row 72, column 5 </td>
536</tr>
537<tr>
538<td> row 73, column 1 </td>
539<td> row 73, column 2 </td>
540<td> row 73, column 3 </td>
541<td> row 73, column 4 </td>
542<td> row 73, column 5 </td>
543</tr>
544<tr>
545<td> row 74, column 1 </td>
546<td> row 74, column 2 </td>
547<td> row 74, column 3 </td>
548<td> row 74, column 4 </td>
549<td> row 74, column 5 </td>
550</tr>
551<tr>
552<td> row 75, column 1 </td>
553<td> row 75, column 2 </td>
554<td> row 75, column 3 </td>
555<td> row 75, column 4 </td>
556<td> row 75, column 5 </td>
557</tr>
558<tr>
559<td> row 76, column 1 </td>
560<td> row 76, column 2 </td>
561<td> row 76, column 3 </td>
562<td> row 76, column 4 </td>
563<td> row 76, column 5 </td>
564</tr>
565<tr>
566<td> row 77, column 1 </td>
567<td> row 77, column 2 </td>
568<td> row 77, column 3 </td>
569<td> row 77, column 4 </td>
570<td> row 77, column 5 </td>
571</tr>
572<tr>
573<td> row 78, column 1 </td>
574<td> row 78, column 2 </td>
575<td> row 78, column 3 </td>
576<td> row 78, column 4 </td>
577<td> row 78, column 5 </td>
578</tr>
579<tr>
580<td> row 79, column 1 </td>
581<td> row 79, column 2 </td>
582<td> row 79, column 3 </td>
583<td> row 79, column 4 </td>
584<td> row 79, column 5 </td>
585</tr>
586<tr>
587<td> row 80, column 1 </td>
588<td> row 80, column 2 </td>
589<td> row 80, column 3 </td>
590<td> row 80, column 4 </td>
591<td> row 80, column 5 </td>
592</tr>
593<tr>
594<td> row 81, column 1 </td>
595<td> row 81, column 2 </td>
596<td> row 81, column 3 </td>
597<td> row 81, column 4 </td>
598<td> row 81, column 5 </td>
599</tr>
600<tr>
601<td> row 82, column 1 </td>
602<td> row 82, column 2 </td>
603<td> row 82, column 3 </td>
604<td> row 82, column 4 </td>
605<td> row 82, column 5 </td>
606</tr>
607<tr>
608<td> row 83, column 1 </td>
609<td> row 83, column 2 </td>
610<td> row 83, column 3 </td>
611<td> row 83, column 4 </td>
612<td> row 83, column 5 </td>
613</tr>
614<tr>
615<td> row 84, column 1 </td>
616<td> row 84, column 2 </td>
617<td> row 84, column 3 </td>
618<td> row 84, column 4 </td>
619<td> row 84, column 5 </td>
620</tr>
621<tr>
622<td> row 85, column 1 </td>
623<td> row 85, column 2 </td>
624<td> row 85, column 3 </td>
625<td> row 85, column 4 </td>
626<td> row 85, column 5 </td>
627</tr>
628<tr>
629<td> row 86, column 1 </td>
630<td> row 86, column 2 </td>
631<td> row 86, column 3 </td>
632<td> row 86, column 4 </td>
633<td> row 86, column 5 </td>
634</tr>
635<tr>
636<td> row 87, column 1 </td>
637<td> row 87, column 2 </td>
638<td> row 87, column 3 </td>
639<td> row 87, column 4 </td>
640<td> row 87, column 5 </td>
641</tr>
642<tr>
643<td> row 88, column 1 </td>
644<td> row 88, column 2 </td>
645<td> row 88, column 3 </td>
646<td> row 88, column 4 </td>
647<td> row 88, column 5 </td>
648</tr>
649<tr>
650<td> row 89, column 1 </td>
651<td> row 89, column 2 </td>
652<td> row 89, column 3 </td>
653<td> row 89, column 4 </td>
654<td> row 89, column 5 </td>
655</tr>
656<tr>
657<td> row 90, column 1 </td>
658<td> row 90, column 2 </td>
659<td> row 90, column 3 </td>
660<td> row 90, column 4 </td>
661<td> row 90, column 5 </td>
662</tr>
663<tr>
664<td> row 91, column 1 </td>
665<td> row 91, column 2 </td>
666<td> row 91, column 3 </td>
667<td> row 91, column 4 </td>
668<td> row 91, column 5 </td>
669</tr>
670<tr>
671<td> row 92, column 1 </td>
672<td> row 92, column 2 </td>
673<td> row 92, column 3 </td>
674<td> row 92, column 4 </td>
675<td> row 92, column 5 </td>
676</tr>
677<tr>
678<td> row 93, column 1 </td>
679<td> row 93, column 2 </td>
680<td> row 93, column 3 </td>
681<td> row 93, column 4 </td>
682<td> row 93, column 5 </td>
683</tr>
684<tr>
685<td> row 94, column 1 </td>
686<td> row 94, column 2 </td>
687<td> row 94, column 3 </td>
688<td> row 94, column 4 </td>
689<td> row 94, column 5 </td>
690</tr>
691<tr>
692<td> row 95, column 1 </td>
693<td> row 95, column 2 </td>
694<td> row 95, column 3 </td>
695<td> row 95, column 4 </td>
696<td> row 95, column 5 </td>
697</tr>
698<tr>
699<td> row 96, column 1 </td>
700<td> row 96, column 2 </td>
701<td> row 96, column 3 </td>
702<td> row 96, column 4 </td>
703<td> row 96, column 5 </td>
704</tr>
705<tr>
706<td> row 97, column 1 </td>
707<td> row 97, column 2 </td>
708<td> row 97, column 3 </td>
709<td> row 97, column 4 </td>
710<td> row 97, column 5 </td>
711</tr>
712<tr>
713<td> row 98, column 1 </td>
714<td> row 98, column 2 </td>
715<td> row 98, column 3 </td>
716<td> row 98, column 4 </td>
717<td> row 98, column 5 </td>
718</tr>
719<tr>
720<td> row 99, column 1 </td>
721<td> row 99, column 2 </td>
722<td> row 99, column 3 </td>
723<td> row 99, column 4 </td>
724<td> row 99, column 5 </td>
725</tr>
726</table>
727</body>