2010-06-30 Eric Seidel <eric@webkit.org>
[WebKit-https.git] / LayoutTests / html5lib / runner-expected-html5.txt
1 CONSOLE MESSAGE: line 1: SyntaxError: Parse error
2 CONSOLE MESSAGE: line 2: PASS
3 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
4 Content-Type: text/plain
5 resources/tests1.dat:
6 2
7 20
8 21
9 22
10 23
11 24
12 25
13 26
14 28
15 29
16 30
17 31
18 32
19 33
20 34
21 41
22 50
23 51
24 52
25 53
26 56
27 57
28 58
29 59
30 60
31 61
32 67
33 68
34 69
35 70
36 71
37 72
38 73
39 74
40 75
41 76
42 78
43 79
44 80
45 81
46 82
47 85
48 86
49 89
50 90
51 92
52 93
53 94
54 95
55 96
56 97
57 98
58 99
59 100
60 101
61 103
62 104
63 106
64 107
65 108
66 109
67 110
68 111
69 112
70
71 Test 2 of 113 in resources/tests1.dat failed. Input:
72 <p>One<p>Two
73 Got:
74 | <html>
75 |   <head>
76 |   <body>
77 |     <p>
78 |       "One"
79 |       <p>
80 |         "Two"
81 Expected:
82 | <html>
83 |   <head>
84 |   <body>
85 |     <p>
86 |       "One"
87 |     <p>
88 |       "Two"
89
90 Test 20 of 113 in resources/tests1.dat failed. Input:
91 <b><table><td><i></table>
92 Got:
93 | <html>
94 |   <head>
95 |   <body>
96 |     <b>
97 |       <table>
98 Expected:
99 | <html>
100 |   <head>
101 |   <body>
102 |     <b>
103 |       <table>
104 |         <tbody>
105 |           <tr>
106 |             <td>
107 |               <i>
108
109 Test 21 of 113 in resources/tests1.dat failed. Input:
110 <b><table><td></b><i></table>X
111 Got:
112 | <html>
113 |   <head>
114 |   <body>
115 |     <b>
116 |       <table>
117 Expected:
118 | <html>
119 |   <head>
120 |   <body>
121 |     <b>
122 |       <table>
123 |         <tbody>
124 |           <tr>
125 |             <td>
126 |               <i>
127 |       "X"
128
129 Test 22 of 113 in resources/tests1.dat failed. Input:
130 <h1>Hello<h2>World
131 Got:
132 | <html>
133 |   <head>
134 |   <body>
135 |     <h1>
136 |       "Hello"
137 |       <h2>
138 |         "World"
139 Expected:
140 | <html>
141 |   <head>
142 |   <body>
143 |     <h1>
144 |       "Hello"
145 |     <h2>
146 |       "World"
147
148 Test 23 of 113 in resources/tests1.dat failed. Input:
149 <a><p>X<a>Y</a>Z</p></a>
150 Got:
151 | <html>
152 |   <head>
153 |   <body>
154 |     <a>
155 |       <p>
156 |         "X"
157 |         <a>
158 |           <a>
159 |             "Y"
160 |             "Z"
161 Expected:
162 | <html>
163 |   <head>
164 |   <body>
165 |     <a>
166 |     <p>
167 |       <a>
168 |         "X"
169 |       <a>
170 |         "Y"
171 |       "Z"
172
173 Test 24 of 113 in resources/tests1.dat failed. Input:
174 <b><button></b></button></b>
175 Got:
176 | <html>
177 |   <head>
178 |   <body>
179 |     <b>
180 |       <b>
181 |         <button>
182 Expected:
183 | <html>
184 |   <head>
185 |   <body>
186 |     <b>
187 |       <button>
188
189 Test 25 of 113 in resources/tests1.dat failed. Input:
190 <p><b><div><marquee></p></b></div>X
191 Got:
192 | <html>
193 |   <head>
194 |   <body>
195 |     <p>
196 |       <b>
197 |         <div>
198 |           <b>
199 |             <marquee>
200 |               "X"
201 Expected:
202 | <html>
203 |   <head>
204 |   <body>
205 |     <p>
206 |       <b>
207 |     <div>
208 |       <b>
209 |         <marquee>
210 |           <p>
211 |           "X"
212
213 Test 26 of 113 in resources/tests1.dat failed. Input:
214 <script><div></script></div><title><p></title><p><p>
215 Got:
216 | <html>
217 |   <head>
218 |     <script>
219 |       "<div>"
220 |     <title>
221 |       "<p>"
222 |   <body>
223 |     <p>
224 |       <p>
225 Expected:
226 | <html>
227 |   <head>
228 |     <script>
229 |       "<div>"
230 |     <title>
231 |       "<p>"
232 |   <body>
233 |     <p>
234 |     <p>
235
236 Test 28 of 113 in resources/tests1.dat failed. Input:
237 <p><hr></p>
238 Got:
239 | <html>
240 |   <head>
241 |   <body>
242 |     <p>
243 |       <hr>
244 Expected:
245 | <html>
246 |   <head>
247 |   <body>
248 |     <p>
249 |     <hr>
250 |     <p>
251
252 Test 29 of 113 in resources/tests1.dat failed. Input:
253 <select><b><option><select><option></b></select>X
254 Got:
255 | <html>
256 |   <head>
257 |   <body>
258 |     <select>
259 Expected:
260 | <html>
261 |   <head>
262 |   <body>
263 |     <select>
264 |       <option>
265 |     <option>
266 |       "X"
267
268 Test 30 of 113 in resources/tests1.dat failed. Input:
269 <a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y
270 Got:
271 | <html>
272 |   <head>
273 |   <body>
274 |     <a>
275 |       <table>
276 Expected:
277 | <html>
278 |   <head>
279 |   <body>
280 |     <a>
281 |       <a>
282 |       <table>
283 |         <tbody>
284 |           <tr>
285 |             <td>
286 |               <a>
287 |                 <table>
288 |               <a>
289 |     <a>
290 |       <b>
291 |         "X"
292 |       "C"
293 |     <a>
294 |       "Y"
295
296 Test 31 of 113 in resources/tests1.dat failed. Input:
297 <a X>0<b>1<a Y>2
298 Got:
299 | <html>
300 |   <head>
301 |   <body>
302 |     <a>
303 |       x=""
304 |       "0"
305 |       <a>
306 |         <b>
307 |           "1"
308 |           <b>
309 |             <a>
310 |               y=""
311 |               "2"
312 Expected:
313 | <html>
314 |   <head>
315 |   <body>
316 |     <a>
317 |       x=""
318 |       "0"
319 |       <b>
320 |         "1"
321 |     <b>
322 |       <a>
323 |         y=""
324 |         "2"
325
326 Test 32 of 113 in resources/tests1.dat failed. Input:
327 <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
328 Got:
329 | <!-- -- -->
330 | <html>
331 |   <head>
332 |   <body>
333 |     <font>
334 |       <div>
335 |         "hello"
336 |         <table>
337 |           <!-- X -->
338 Expected:
339 | <!-- - -->
340 | <html>
341 |   <head>
342 |   <body>
343 |     <font>
344 |       <div>
345 |         "helloexcite!"
346 |         <b>
347 |           "me!"
348 |         <table>
349 |           <tbody>
350 |             <tr>
351 |               <th>
352 |                 <i>
353 |                   "please!"
354 |             <!-- X -->
355
356 Test 33 of 113 in resources/tests1.dat failed. Input:
357 <!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->
358 Got:
359 | <!DOCTYPE html>
360 | <html>
361 |   <head>
362 |   <body>
363 |     <li>
364 |       "hello"
365 |       <li>
366 |         "world"
367 |         <ul>
368 |           "how"
369 |           <li>
370 |             "do"
371 |         "you"
372 |         <!-- do -->
373 Expected:
374 | <!DOCTYPE html>
375 | <html>
376 |   <head>
377 |   <body>
378 |     <li>
379 |       "hello"
380 |     <li>
381 |       "world"
382 |       <ul>
383 |         "how"
384 |         <li>
385 |           "do"
386 |       "you"
387 |   <!-- do -->
388
389 Test 34 of 113 in resources/tests1.dat failed. Input:
390 <!DOCTYPE html>A<option>B<optgroup>C<select>D</option>E
391 Got:
392 | <!DOCTYPE html>
393 | <html>
394 |   <head>
395 |   <body>
396 |     "A"
397 |     <option>
398 |       "B"
399 |       <optgroup>
400 |         "C"
401 |         <select>
402 Expected:
403 | <!DOCTYPE html>
404 | <html>
405 |   <head>
406 |   <body>
407 |     "A"
408 |     <option>
409 |       "B"
410 |     <optgroup>
411 |       "C"
412 |       <select>
413 |         "DE"
414
415 Test 41 of 113 in resources/tests1.dat failed. Input:
416 <!
417 Got:
418 | <!-- \0 -->
419 | <html>
420 |   <head>
421 |   <body>
422 Expected:
423 | <!--  -->
424 | <html>
425 |   <head>
426 |   <body>
427
428 Test 50 of 113 in resources/tests1.dat failed. Input:
429 <!DOCTYPE html><script> <!-- </script> --> </script> EOF
430 Got:
431 | <!DOCTYPE html>
432 | <html>
433 |   <head>
434 |     <script>
435 |       " <!-- "
436 |   <body>
437 |     " --> "
438 |     " EOF"
439 Expected:
440 | <!DOCTYPE html>
441 | <html>
442 |   <head>
443 |     <script>
444 |       " <!-- "
445 |     " "
446 |   <body>
447 |     "-->  EOF"
448
449 Test 51 of 113 in resources/tests1.dat failed. Input:
450 <b><p></b>TEST
451 Got:
452 | <html>
453 |   <head>
454 |   <body>
455 |     <b>
456 |       <p>
457 |         "TEST"
458 Expected:
459 | <html>
460 |   <head>
461 |   <body>
462 |     <b>
463 |     <p>
464 |       <b>
465 |       "TEST"
466
467 Test 52 of 113 in resources/tests1.dat failed. Input:
468 <p id=a><b><p id=b></b>TEST
469 Got:
470 | <html>
471 |   <head>
472 |   <body>
473 |     <p>
474 |       id="a"
475 |       <b>
476 |         <p>
477 |           id="b"
478 |           "TEST"
479 Expected:
480 | <html>
481 |   <head>
482 |   <body>
483 |     <p>
484 |       id="a"
485 |       <b>
486 |     <p>
487 |       id="b"
488 |       "TEST"
489
490 Test 53 of 113 in resources/tests1.dat failed. Input:
491 <b id=a><p><b id=b></p></b>TEST
492 Got:
493 | <html>
494 |   <head>
495 |   <body>
496 |     <b>
497 |       id="a"
498 |       <p>
499 |         <b>
500 |           <b>
501 |             id="b"
502 |       "TEST"
503 Expected:
504 | <html>
505 |   <head>
506 |   <body>
507 |     <b>
508 |       id="a"
509 |       <p>
510 |         <b>
511 |           id="b"
512 |       "TEST"
513
514 Test 56 of 113 in resources/tests1.dat failed. Input:
515 <font><p>hello<b>cruel</font>world
516 Got:
517 | <html>
518 |   <head>
519 |   <body>
520 |     <font>
521 |       <p>
522 |         "hello"
523 |         <font>
524 |           <b>
525 |             "cruel"
526 |             "world"
527 Expected:
528 | <html>
529 |   <head>
530 |   <body>
531 |     <font>
532 |     <p>
533 |       <font>
534 |         "hello"
535 |         <b>
536 |           "cruel"
537 |       <b>
538 |         "world"
539
540 Test 57 of 113 in resources/tests1.dat failed. Input:
541 <b>Test</i>Test
542 Got:
543 | <html>
544 |   <head>
545 |   <body>
546 |     <b>
547 |       "Test"
548 |       "Test"
549 Expected:
550 | <html>
551 |   <head>
552 |   <body>
553 |     <b>
554 |       "TestTest"
555
556 Test 58 of 113 in resources/tests1.dat failed. Input:
557 <b>A<cite>B<div>C
558 Got:
559 | <html>
560 |   <head>
561 |   <body>
562 |     <b>
563 |       "A"
564 |       <b>
565 |         <cite>
566 |           "B"
567 |           <div>
568 |             "C"
569 Expected:
570 | <html>
571 |   <head>
572 |   <body>
573 |     <b>
574 |       "A"
575 |       <cite>
576 |         "B"
577 |         <div>
578 |           "C"
579
580 Test 59 of 113 in resources/tests1.dat failed. Input:
581 <b>A<cite>B<div>C</cite>D
582 Got:
583 | <html>
584 |   <head>
585 |   <body>
586 |     <b>
587 |       "A"
588 |       <b>
589 |         <cite>
590 |           "B"
591 |           <div>
592 |             "C"
593 |         "D"
594 Expected:
595 | <html>
596 |   <head>
597 |   <body>
598 |     <b>
599 |       "A"
600 |       <cite>
601 |         "B"
602 |         <div>
603 |           "CD"
604
605 Test 60 of 113 in resources/tests1.dat failed. Input:
606 <b>A<cite>B<div>C</b>D
607 Got:
608 | <html>
609 |   <head>
610 |   <body>
611 |     <b>
612 |       "A"
613 |       <b>
614 |         <cite>
615 |           "B"
616 |           <div>
617 |             "C"
618 |             "D"
619 Expected:
620 | <html>
621 |   <head>
622 |   <body>
623 |     <b>
624 |       "A"
625 |       <cite>
626 |         "B"
627 |     <div>
628 |       <b>
629 |         "C"
630 |       "D"
631
632 Test 61 of 113 in resources/tests1.dat failed. Input:
633 <cite><b><cite><i><cite><i><cite><i><div>X</b>TEST
634 Got:
635 | <html>
636 |   <head>
637 |   <body>
638 |     <cite>
639 |       <b>
640 |         <b>
641 |           <cite>
642 |             <b>
643 |               <i>
644 |                 <i>
645 |                   <cite>
646 |                     <i>
647 |                       <i>
648 |                         <i>
649 |                           <cite>
650 |                             <i>
651 |                               <i>
652 |                                 <div>
653 |                                   "X"
654 |                                   "TEST"
655 Expected:
656 | <html>
657 |   <head>
658 |   <body>
659 |     <cite>
660 |       <b>
661 |         <cite>
662 |           <i>
663 |             <cite>
664 |               <i>
665 |                 <cite>
666 |                   <i>
667 |       <i>
668 |         <i>
669 |           <i>
670 |             <div>
671 |               <b>
672 |                 "X"
673 |               "TEST"
674
675 Test 67 of 113 in resources/tests1.dat failed. Input:
676 <DIV> abc <B> def <I>
677 Got:
678 | <html>
679 |   <head>
680 |   <body>
681 |     <div>
682 |       " abc "
683 |       <b>
684 |         " def "
685 |         <b>
686 |           <i>
687 Expected:
688 | <html>
689 |   <head>
690 |   <body>
691 |     <div>
692 |       " abc "
693 |       <b>
694 |         " def "
695 |         <i>
696
697 Test 68 of 113 in resources/tests1.dat failed. Input:
698 <DIV> abc <B> def <I> ghi
699 Got:
700 | <html>
701 |   <head>
702 |   <body>
703 |     <div>
704 |       " abc "
705 |       <b>
706 |         " def "
707 |         <b>
708 |           <i>
709 |             " ghi"
710 Expected:
711 | <html>
712 |   <head>
713 |   <body>
714 |     <div>
715 |       " abc "
716 |       <b>
717 |         " def "
718 |         <i>
719 |           " ghi"
720
721 Test 69 of 113 in resources/tests1.dat failed. Input:
722 <DIV> abc <B> def <I> ghi <P>
723 Got:
724 | <html>
725 |   <head>
726 |   <body>
727 |     <div>
728 |       " abc "
729 |       <b>
730 |         " def "
731 |         <b>
732 |           <i>
733 |             " ghi "
734 |             <p>
735 Expected:
736 | <html>
737 |   <head>
738 |   <body>
739 |     <div>
740 |       " abc "
741 |       <b>
742 |         " def "
743 |         <i>
744 |           " ghi "
745 |           <p>
746
747 Test 70 of 113 in resources/tests1.dat failed. Input:
748 <DIV> abc <B> def <I> ghi <P> jkl
749 Got:
750 | <html>
751 |   <head>
752 |   <body>
753 |     <div>
754 |       " abc "
755 |       <b>
756 |         " def "
757 |         <b>
758 |           <i>
759 |             " ghi "
760 |             <p>
761 |               " jkl"
762 Expected:
763 | <html>
764 |   <head>
765 |   <body>
766 |     <div>
767 |       " abc "
768 |       <b>
769 |         " def "
770 |         <i>
771 |           " ghi "
772 |           <p>
773 |             " jkl"
774
775 Test 71 of 113 in resources/tests1.dat failed. Input:
776 <DIV> abc <B> def <I> ghi <P> jkl </B>
777 Got:
778 | <html>
779 |   <head>
780 |   <body>
781 |     <div>
782 |       " abc "
783 |       <b>
784 |         " def "
785 |         <b>
786 |           <i>
787 |             " ghi "
788 |             <p>
789 |               " jkl "
790 Expected:
791 | <html>
792 |   <head>
793 |   <body>
794 |     <div>
795 |       " abc "
796 |       <b>
797 |         " def "
798 |         <i>
799 |           " ghi "
800 |       <i>
801 |         <p>
802 |           <b>
803 |             " jkl "
804
805 Test 72 of 113 in resources/tests1.dat failed. Input:
806 <DIV> abc <B> def <I> ghi <P> jkl </B> mno
807 Got:
808 | <html>
809 |   <head>
810 |   <body>
811 |     <div>
812 |       " abc "
813 |       <b>
814 |         " def "
815 |         <b>
816 |           <i>
817 |             " ghi "
818 |             <p>
819 |               " jkl "
820 |               " mno"
821 Expected:
822 | <html>
823 |   <head>
824 |   <body>
825 |     <div>
826 |       " abc "
827 |       <b>
828 |         " def "
829 |         <i>
830 |           " ghi "
831 |       <i>
832 |         <p>
833 |           <b>
834 |             " jkl "
835 |           " mno"
836
837 Test 73 of 113 in resources/tests1.dat failed. Input:
838 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I>
839 Got:
840 | <html>
841 |   <head>
842 |   <body>
843 |     <div>
844 |       " abc "
845 |       <b>
846 |         " def "
847 |         <b>
848 |           <i>
849 |             " ghi "
850 |             <p>
851 |               " jkl "
852 |               " mno "
853 Expected:
854 | <html>
855 |   <head>
856 |   <body>
857 |     <div>
858 |       " abc "
859 |       <b>
860 |         " def "
861 |         <i>
862 |           " ghi "
863 |       <i>
864 |       <p>
865 |         <i>
866 |           <b>
867 |             " jkl "
868 |           " mno "
869
870 Test 74 of 113 in resources/tests1.dat failed. Input:
871 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr
872 Got:
873 | <html>
874 |   <head>
875 |   <body>
876 |     <div>
877 |       " abc "
878 |       <b>
879 |         " def "
880 |         <b>
881 |           <i>
882 |             " ghi "
883 |             <p>
884 |               " jkl "
885 |               " mno "
886 |               " pqr"
887 Expected:
888 | <html>
889 |   <head>
890 |   <body>
891 |     <div>
892 |       " abc "
893 |       <b>
894 |         " def "
895 |         <i>
896 |           " ghi "
897 |       <i>
898 |       <p>
899 |         <i>
900 |           <b>
901 |             " jkl "
902 |           " mno "
903 |         " pqr"
904
905 Test 75 of 113 in resources/tests1.dat failed. Input:
906 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P>
907 Got:
908 | <html>
909 |   <head>
910 |   <body>
911 |     <div>
912 |       " abc "
913 |       <b>
914 |         " def "
915 |         <b>
916 |           <i>
917 |             " ghi "
918 |             <p>
919 |               " jkl "
920 |               " mno "
921 |               " pqr "
922 Expected:
923 | <html>
924 |   <head>
925 |   <body>
926 |     <div>
927 |       " abc "
928 |       <b>
929 |         " def "
930 |         <i>
931 |           " ghi "
932 |       <i>
933 |       <p>
934 |         <i>
935 |           <b>
936 |             " jkl "
937 |           " mno "
938 |         " pqr "
939
940 Test 76 of 113 in resources/tests1.dat failed. Input:
941 <DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> stu
942 Got:
943 | <html>
944 |   <head>
945 |   <body>
946 |     <div>
947 |       " abc "
948 |       <b>
949 |         " def "
950 |         <b>
951 |           <i>
952 |             " ghi "
953 |             <p>
954 |               " jkl "
955 |               " mno "
956 |               " pqr "
957 |             " stu"
958 Expected:
959 | <html>
960 |   <head>
961 |   <body>
962 |     <div>
963 |       " abc "
964 |       <b>
965 |         " def "
966 |         <i>
967 |           " ghi "
968 |       <i>
969 |       <p>
970 |         <i>
971 |           <b>
972 |             " jkl "
973 |           " mno "
974 |         " pqr "
975 |       " stu"
976
977 Test 78 of 113 in resources/tests1.dat failed. Input:
978 <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe
979 Got:
980 | <html>
981 |   <head>
982 |   <body>
983 |     <a>
984 |       href="blah"
985 |       "aba"
986 |       <table>
987 Expected:
988 | <html>
989 |   <head>
990 |   <body>
991 |     <a>
992 |       href="blah"
993 |       "aba"
994 |       <a>
995 |         href="foo"
996 |         "br"
997 |       <a>
998 |         href="foo"
999 |         "x"
1000 |       <table>
1001 |         <tbody>
1002 |           <tr>
1003 |             <td>
1004 |     <a>
1005 |       href="foo"
1006 |       "aoe"
1007
1008 Test 79 of 113 in resources/tests1.dat failed. Input:
1009 <a href="blah">aba<table><tr><td><a href="foo">br</td></tr>x</table>aoe
1010 Got:
1011 | <html>
1012 |   <head>
1013 |   <body>
1014 |     <a>
1015 |       href="blah"
1016 |       "aba"
1017 |       <table>
1018 Expected:
1019 | <html>
1020 |   <head>
1021 |   <body>
1022 |     <a>
1023 |       href="blah"
1024 |       "abax"
1025 |       <table>
1026 |         <tbody>
1027 |           <tr>
1028 |             <td>
1029 |               <a>
1030 |                 href="foo"
1031 |                 "br"
1032 |       "aoe"
1033
1034 Test 80 of 113 in resources/tests1.dat failed. Input:
1035 <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe
1036 Got:
1037 | <html>
1038 |   <head>
1039 |   <body>
1040 |     <table>
1041 Expected:
1042 | <html>
1043 |   <head>
1044 |   <body>
1045 |     <a>
1046 |       href="blah"
1047 |       "aba"
1048 |     <a>
1049 |       href="blah"
1050 |       "x"
1051 |     <table>
1052 |       <tbody>
1053 |         <tr>
1054 |           <td>
1055 |             <a>
1056 |               href="foo"
1057 |               "br"
1058 |     <a>
1059 |       href="blah"
1060 |       "aoe"
1061
1062 Test 81 of 113 in resources/tests1.dat failed. Input:
1063 <a href=a>aa<marquee>aa<a href=b>bb</marquee>aa
1064 Got:
1065 | <html>
1066 |   <head>
1067 |   <body>
1068 |     <a>
1069 |       href="a"
1070 |       "aa"
1071 |       <a>
1072 |         <marquee>
1073 |           "aa"
1074 |           <a>
1075 |             <a>
1076 |               href="b"
1077 |               "bb"
1078 |         "aa"
1079 Expected:
1080 | <html>
1081 |   <head>
1082 |   <body>
1083 |     <a>
1084 |       href="a"
1085 |       "aa"
1086 |       <marquee>
1087 |         "aa"
1088 |         <a>
1089 |           href="b"
1090 |           "bb"
1091 |       "aa"
1092
1093 Test 82 of 113 in resources/tests1.dat failed. Input:
1094 <wbr><strike><code></strike><code><strike></code>
1095 Got:
1096 | <html>
1097 |   <head>
1098 |   <body>
1099 |     <wbr>
1100 |     <strike>
1101 |       <strike>
1102 |         <code>
1103 |           <code>
1104 |             <code>
1105 |               <code>
1106 |                 <strike>
1107 Expected:
1108 | <html>
1109 |   <head>
1110 |   <body>
1111 |     <wbr>
1112 |     <strike>
1113 |       <code>
1114 |     <code>
1115 |       <code>
1116 |         <strike>
1117
1118 Test 85 of 113 in resources/tests1.dat failed. Input:
1119 <head><meta></head><link>
1120 Got:
1121 | <html>
1122 |   <head>
1123 |     <meta>
1124 |   <body>
1125 Expected:
1126 | <html>
1127 |   <head>
1128 |     <meta>
1129 |     <link>
1130 |   <body>
1131
1132 Test 86 of 113 in resources/tests1.dat failed. Input:
1133 <table><tr><tr><td><td><span><th><span>X</table>
1134 Got:
1135 | <html>
1136 |   <head>
1137 |   <body>
1138 |     <table>
1139 Expected:
1140 | <html>
1141 |   <head>
1142 |   <body>
1143 |     <table>
1144 |       <tbody>
1145 |         <tr>
1146 |         <tr>
1147 |           <td>
1148 |           <td>
1149 |             <span>
1150 |           <th>
1151 |             <span>
1152 |               "X"
1153
1154 Test 89 of 113 in resources/tests1.dat failed. Input:
1155 <p><image></p>
1156 Got:
1157 | <html>
1158 |   <head>
1159 |   <body>
1160 |     <p>
1161 Expected:
1162 | <html>
1163 |   <head>
1164 |   <body>
1165 |     <p>
1166 |       <img>
1167
1168 Test 90 of 113 in resources/tests1.dat failed. Input:
1169 <a><table><a></table><p><a><div><a>
1170 Got:
1171 | <html>
1172 |   <head>
1173 |   <body>
1174 |     <a>
1175 |       <table>
1176 Expected:
1177 | <html>
1178 |   <head>
1179 |   <body>
1180 |     <a>
1181 |       <a>
1182 |       <table>
1183 |     <p>
1184 |       <a>
1185 |     <div>
1186 |       <a>
1187
1188 Test 92 of 113 in resources/tests1.dat failed. Input:
1189 <head></html><meta><p>
1190 Got:
1191 | <html>
1192 |   <head>
1193 |   <body>
1194 Expected:
1195 | <html>
1196 |   <head>
1197 |   <body>
1198 |     <meta>
1199 |     <p>
1200
1201 Test 93 of 113 in resources/tests1.dat failed. Input:
1202 <b><table><td><i></table>
1203 Got:
1204 | <html>
1205 |   <head>
1206 |   <body>
1207 |     <b>
1208 |       <table>
1209 Expected:
1210 | <html>
1211 |   <head>
1212 |   <body>
1213 |     <b>
1214 |       <table>
1215 |         <tbody>
1216 |           <tr>
1217 |             <td>
1218 |               <i>
1219
1220 Test 94 of 113 in resources/tests1.dat failed. Input:
1221 <b><table><td></b><i></table>
1222 Got:
1223 | <html>
1224 |   <head>
1225 |   <body>
1226 |     <b>
1227 |       <table>
1228 Expected:
1229 | <html>
1230 |   <head>
1231 |   <body>
1232 |     <b>
1233 |       <table>
1234 |         <tbody>
1235 |           <tr>
1236 |             <td>
1237 |               <i>
1238
1239 Test 95 of 113 in resources/tests1.dat failed. Input:
1240 <h1><h2>
1241 Got:
1242 | <html>
1243 |   <head>
1244 |   <body>
1245 |     <h1>
1246 |       <h2>
1247 Expected:
1248 | <html>
1249 |   <head>
1250 |   <body>
1251 |     <h1>
1252 |     <h2>
1253
1254 Test 96 of 113 in resources/tests1.dat failed. Input:
1255 <a><p><a></a></p></a>
1256 Got:
1257 | <html>
1258 |   <head>
1259 |   <body>
1260 |     <a>
1261 |       <p>
1262 |         <a>
1263 |           <a>
1264 Expected:
1265 | <html>
1266 |   <head>
1267 |   <body>
1268 |     <a>
1269 |     <p>
1270 |       <a>
1271 |       <a>
1272
1273 Test 97 of 113 in resources/tests1.dat failed. Input:
1274 <b><button></b></button></b>
1275 Got:
1276 | <html>
1277 |   <head>
1278 |   <body>
1279 |     <b>
1280 |       <b>
1281 |         <button>
1282 Expected:
1283 | <html>
1284 |   <head>
1285 |   <body>
1286 |     <b>
1287 |       <button>
1288
1289 Test 98 of 113 in resources/tests1.dat failed. Input:
1290 <p><b><div><marquee></p></b></div>
1291 Got:
1292 | <html>
1293 |   <head>
1294 |   <body>
1295 |     <p>
1296 |       <b>
1297 |         <div>
1298 |           <b>
1299 |             <marquee>
1300 Expected:
1301 | <html>
1302 |   <head>
1303 |   <body>
1304 |     <p>
1305 |       <b>
1306 |     <div>
1307 |       <b>
1308 |         <marquee>
1309 |           <p>
1310
1311 Test 99 of 113 in resources/tests1.dat failed. Input:
1312 <script></script></div><title></title><p><p>
1313 Got:
1314 | <html>
1315 |   <head>
1316 |     <script>
1317 |     <title>
1318 |   <body>
1319 |     <p>
1320 |       <p>
1321 Expected:
1322 | <html>
1323 |   <head>
1324 |     <script>
1325 |     <title>
1326 |   <body>
1327 |     <p>
1328 |     <p>
1329
1330 Test 100 of 113 in resources/tests1.dat failed. Input:
1331 <p><hr></p>
1332 Got:
1333 | <html>
1334 |   <head>
1335 |   <body>
1336 |     <p>
1337 |       <hr>
1338 Expected:
1339 | <html>
1340 |   <head>
1341 |   <body>
1342 |     <p>
1343 |     <hr>
1344 |     <p>
1345
1346 Test 101 of 113 in resources/tests1.dat failed. Input:
1347 <select><b><option><select><option></b></select>
1348 Got:
1349 | <html>
1350 |   <head>
1351 |   <body>
1352 |     <select>
1353 Expected:
1354 | <html>
1355 |   <head>
1356 |   <body>
1357 |     <select>
1358 |       <option>
1359 |     <option>
1360
1361 Test 103 of 113 in resources/tests1.dat failed. Input:
1362 <a><table><td><a><table></table><a></tr><a></table><a>
1363 Got:
1364 | <html>
1365 |   <head>
1366 |   <body>
1367 |     <a>
1368 |       <table>
1369 Expected:
1370 | <html>
1371 |   <head>
1372 |   <body>
1373 |     <a>
1374 |       <a>
1375 |       <table>
1376 |         <tbody>
1377 |           <tr>
1378 |             <td>
1379 |               <a>
1380 |                 <table>
1381 |               <a>
1382 |     <a>
1383
1384 Test 104 of 113 in resources/tests1.dat failed. Input:
1385 <ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>
1386 Got:
1387 | <html>
1388 |   <head>
1389 |   <body>
1390 |     <ul>
1391 |       <li>
1392 |       <div>
1393 |         <li>
1394 |       <li>
1395 |         <li>
1396 |           <div>
1397 |             <li>
1398 |               <address>
1399 |                 <li>
1400 |                   <b>
1401 |                     <b>
1402 |                       <em>
1403 |                         <li>
1404 Expected:
1405 | <html>
1406 |   <head>
1407 |   <body>
1408 |     <ul>
1409 |       <li>
1410 |       <div>
1411 |         <li>
1412 |       <li>
1413 |       <li>
1414 |         <div>
1415 |       <li>
1416 |         <address>
1417 |       <li>
1418 |         <b>
1419 |           <em>
1420 |       <li>
1421
1422 Test 106 of 113 in resources/tests1.dat failed. Input:
1423 <frameset><frame><frameset><frame></frameset><noframes></noframes></frameset>
1424 Got:
1425 | <html>
1426 |   <head>
1427 |   <frameset>
1428 Expected:
1429 | <html>
1430 |   <head>
1431 |   <frameset>
1432 |     <frame>
1433 |     <frameset>
1434 |       <frame>
1435 |     <noframes>
1436
1437 Test 107 of 113 in resources/tests1.dat failed. Input:
1438 <h1><table><td><h3></table><h3></h1>
1439 Got:
1440 | <html>
1441 |   <head>
1442 |   <body>
1443 |     <h1>
1444 |       <table>
1445 Expected:
1446 | <html>
1447 |   <head>
1448 |   <body>
1449 |     <h1>
1450 |       <table>
1451 |         <tbody>
1452 |           <tr>
1453 |             <td>
1454 |               <h3>
1455 |     <h3>
1456
1457 Test 108 of 113 in resources/tests1.dat failed. Input:
1458 <table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table>
1459 Got:
1460 | <html>
1461 |   <head>
1462 |   <body>
1463 |     <table>
1464 Expected:
1465 | <html>
1466 |   <head>
1467 |   <body>
1468 |     <table>
1469 |       <colgroup>
1470 |         <col>
1471 |       <colgroup>
1472 |         <col>
1473 |         <col>
1474 |         <col>
1475 |       <colgroup>
1476 |         <col>
1477 |         <col>
1478 |       <thead>
1479 |         <tr>
1480 |           <td>
1481
1482 Test 109 of 113 in resources/tests1.dat failed. Input:
1483 <table><col><tbody><col><tr><col><td><col></table><col>
1484 Got:
1485 | <html>
1486 |   <head>
1487 |   <body>
1488 |     <table>
1489 Expected:
1490 | <html>
1491 |   <head>
1492 |   <body>
1493 |     <table>
1494 |       <colgroup>
1495 |         <col>
1496 |       <tbody>
1497 |       <colgroup>
1498 |         <col>
1499 |       <tbody>
1500 |         <tr>
1501 |       <colgroup>
1502 |         <col>
1503 |       <tbody>
1504 |         <tr>
1505 |           <td>
1506 |       <colgroup>
1507 |         <col>
1508
1509 Test 110 of 113 in resources/tests1.dat failed. Input:
1510 <table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>
1511 Got:
1512 | <html>
1513 |   <head>
1514 |   <body>
1515 |     <table>
1516 Expected:
1517 | <html>
1518 |   <head>
1519 |   <body>
1520 |     <table>
1521 |       <colgroup>
1522 |       <tbody>
1523 |       <colgroup>
1524 |       <tbody>
1525 |         <tr>
1526 |       <colgroup>
1527 |       <tbody>
1528 |         <tr>
1529 |           <td>
1530 |       <colgroup>
1531
1532 Test 111 of 113 in resources/tests1.dat failed. Input:
1533 </strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>
1534 Got:
1535 | <html>
1536 |   <head>
1537 |   <body>
1538 Expected:
1539 | <html>
1540 |   <head>
1541 |   <body>
1542 |     <br>
1543 |     <p>
1544
1545 Test 112 of 113 in resources/tests1.dat failed. Input:
1546 <table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>
1547 Got:
1548 | <html>
1549 |   <head>
1550 |   <body>
1551 |     <table>
1552 Expected:
1553 | <html>
1554 |   <head>
1555 |   <body>
1556 |     <br>
1557 |     <table>
1558 |       <tbody>
1559 |         <tr>
1560 |     <p>
1561 resources/tests2.dat:
1562 3
1563 4
1564 8
1565 9
1566 11
1567 13
1568 24
1569 25
1570 26
1571 27
1572 32
1573 34
1574 35
1575 36
1576 37
1577 38
1578 42
1579 46
1580 47
1581 48
1582 49
1583 51
1584 53
1585 54
1586 55
1587 58
1588
1589 Test 3 of 59 in resources/tests2.dat failed. Input:
1590 <table><td>
1591 Got:
1592 | <html>
1593 |   <head>
1594 |   <body>
1595 |     <table>
1596 Expected:
1597 | <html>
1598 |   <head>
1599 |   <body>
1600 |     <table>
1601 |       <tbody>
1602 |         <tr>
1603 |           <td>
1604
1605 Test 4 of 59 in resources/tests2.dat failed. Input:
1606 <table><td>test</tbody></table>
1607 Got:
1608 | <html>
1609 |   <head>
1610 |   <body>
1611 |     <table>
1612 Expected:
1613 | <html>
1614 |   <head>
1615 |   <body>
1616 |     <table>
1617 |       <tbody>
1618 |         <tr>
1619 |           <td>
1620 |             "test"
1621
1622 Test 8 of 59 in resources/tests2.dat failed. Input:
1623 <!DOCTYPE html><font><p><b>test</font>
1624 Got:
1625 | <!DOCTYPE html>
1626 | <html>
1627 |   <head>
1628 |   <body>
1629 |     <font>
1630 |       <p>
1631 |         <font>
1632 |           <b>
1633 |             "test"
1634 Expected:
1635 | <!DOCTYPE html>
1636 | <html>
1637 |   <head>
1638 |   <body>
1639 |     <font>
1640 |     <p>
1641 |       <font>
1642 |         <b>
1643 |           "test"
1644
1645 Test 9 of 59 in resources/tests2.dat failed. Input:
1646 <!DOCTYPE html><dt><div><dd>
1647 Got:
1648 | <!DOCTYPE html>
1649 | <html>
1650 |   <head>
1651 |   <body>
1652 |     <dt>
1653 |       <div>
1654 |         <dd>
1655 Expected:
1656 | <!DOCTYPE html>
1657 | <html>
1658 |   <head>
1659 |   <body>
1660 |     <dt>
1661 |       <div>
1662 |     <dd>
1663
1664 Test 11 of 59 in resources/tests2.dat failed. Input:
1665 <table><plaintext><td>
1666 Got:
1667 | <html>
1668 |   <head>
1669 |   <body>
1670 |     <table>
1671 Expected:
1672 | <html>
1673 |   <head>
1674 |   <body>
1675 |     <plaintext>
1676 |       "<td>"
1677 |     <table>
1678
1679 Test 13 of 59 in resources/tests2.dat failed. Input:
1680 <!DOCTYPE html><table><tr>TEST
1681 Got:
1682 | <!DOCTYPE html>
1683 | <html>
1684 |   <head>
1685 |   <body>
1686 |     <table>
1687 Expected:
1688 | <!DOCTYPE html>
1689 | <html>
1690 |   <head>
1691 |   <body>
1692 |     "TEST"
1693 |     <table>
1694 |       <tbody>
1695 |         <tr>
1696
1697 Test 24 of 59 in resources/tests2.dat failed. Input:
1698 <!doctypehtml><p><li>
1699 Got:
1700 | <!DOCTYPE html>
1701 | <html>
1702 |   <head>
1703 |   <body>
1704 |     <p>
1705 |       <li>
1706 Expected:
1707 | <!DOCTYPE html>
1708 | <html>
1709 |   <head>
1710 |   <body>
1711 |     <p>
1712 |     <li>
1713
1714 Test 25 of 59 in resources/tests2.dat failed. Input:
1715 <!doctypehtml><p><dt>
1716 Got:
1717 | <!DOCTYPE html>
1718 | <html>
1719 |   <head>
1720 |   <body>
1721 |     <p>
1722 |       <dt>
1723 Expected:
1724 | <!DOCTYPE html>
1725 | <html>
1726 |   <head>
1727 |   <body>
1728 |     <p>
1729 |     <dt>
1730
1731 Test 26 of 59 in resources/tests2.dat failed. Input:
1732 <!doctypehtml><p><dd>
1733 Got:
1734 | <!DOCTYPE html>
1735 | <html>
1736 |   <head>
1737 |   <body>
1738 |     <p>
1739 |       <dd>
1740 Expected:
1741 | <!DOCTYPE html>
1742 | <html>
1743 |   <head>
1744 |   <body>
1745 |     <p>
1746 |     <dd>
1747
1748 Test 27 of 59 in resources/tests2.dat failed. Input:
1749 <!doctypehtml><p><form>
1750 Got:
1751 | <!DOCTYPE html>
1752 | <html>
1753 |   <head>
1754 |   <body>
1755 |     <p>
1756 |       <form>
1757 Expected:
1758 | <!DOCTYPE html>
1759 | <html>
1760 |   <head>
1761 |   <body>
1762 |     <p>
1763 |     <form>
1764
1765 Test 32 of 59 in resources/tests2.dat failed. Input:
1766 <!DOCTYPE html>X</body>X
1767 Got:
1768 | <!DOCTYPE html>
1769 | <html>
1770 |   <head>
1771 |   <body>
1772 |     "X"
1773 Expected:
1774 | <!DOCTYPE html>
1775 | <html>
1776 |   <head>
1777 |   <body>
1778 |     "XX"
1779
1780 Test 34 of 59 in resources/tests2.dat failed. Input:
1781 <!DOCTYPE html><table><caption>test TEST</caption><td>test
1782 Got:
1783 | <!DOCTYPE html>
1784 | <html>
1785 |   <head>
1786 |   <body>
1787 |     <table>
1788 Expected:
1789 | <!DOCTYPE html>
1790 | <html>
1791 |   <head>
1792 |   <body>
1793 |     <table>
1794 |       <caption>
1795 |         "test TEST"
1796 |       <tbody>
1797 |         <tr>
1798 |           <td>
1799 |             "test"
1800
1801 Test 35 of 59 in resources/tests2.dat failed. Input:
1802 <!DOCTYPE html><select><option><optgroup>
1803 Got:
1804 | <!DOCTYPE html>
1805 | <html>
1806 |   <head>
1807 |   <body>
1808 |     <select>
1809 Expected:
1810 | <!DOCTYPE html>
1811 | <html>
1812 |   <head>
1813 |   <body>
1814 |     <select>
1815 |       <option>
1816 |       <optgroup>
1817
1818 Test 36 of 59 in resources/tests2.dat failed. Input:
1819 <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
1820 Got:
1821 | <!DOCTYPE html>
1822 | <html>
1823 |   <head>
1824 |   <body>
1825 |     <select>
1826 Expected:
1827 | <!DOCTYPE html>
1828 | <html>
1829 |   <head>
1830 |   <body>
1831 |     <select>
1832 |       <optgroup>
1833 |         <option>
1834 |       <option>
1835 |     <option>
1836
1837 Test 37 of 59 in resources/tests2.dat failed. Input:
1838 <!DOCTYPE html><select><optgroup><option><optgroup>
1839 Got:
1840 | <!DOCTYPE html>
1841 | <html>
1842 |   <head>
1843 |   <body>
1844 |     <select>
1845 Expected:
1846 | <!DOCTYPE html>
1847 | <html>
1848 |   <head>
1849 |   <body>
1850 |     <select>
1851 |       <optgroup>
1852 |         <option>
1853 |       <optgroup>
1854
1855 Test 38 of 59 in resources/tests2.dat failed. Input:
1856 <!DOCTYPE html><font><input><input></font>
1857 Got:
1858 | <!DOCTYPE html>
1859 | <html>
1860 |   <head>
1861 |   <body>
1862 |     <font>
1863 |       <font>
1864 |         <input>
1865 |         <font>
1866 |           <input>
1867 Expected:
1868 | <!DOCTYPE html>
1869 | <html>
1870 |   <head>
1871 |   <body>
1872 |     <font>
1873 |       <input>
1874 |       <input>
1875
1876 Test 42 of 59 in resources/tests2.dat failed. Input:
1877 <isindex test=x name=x>
1878 Got:
1879 | <html>
1880 |   <head>
1881 |   <body>
1882 Expected:
1883 | <html>
1884 |   <head>
1885 |   <body>
1886 |     <form>
1887 |       <hr>
1888 |       <label>
1889 |         "This is a searchable index. Insert your search keywords here: "
1890 |         <input>
1891 |           name="isindex"
1892 |           test="x"
1893 |       <hr>
1894
1895 Test 46 of 59 in resources/tests2.dat failed. Input:
1896 <!DOCTYPE html><select><optgroup></optgroup></select>
1897 Got:
1898 | <!DOCTYPE html>
1899 | <html>
1900 |   <head>
1901 |   <body>
1902 |     <select>
1903 Expected:
1904 | <!DOCTYPE html>
1905 | <html>
1906 |   <head>
1907 |   <body>
1908 |     <select>
1909 |       <optgroup>
1910
1911 Test 47 of 59 in resources/tests2.dat failed. Input:
1912  
1913  
1914 Got:
1915 | <html>
1916 |   <head>
1917 |   <body>
1918 |     " 
1919  "
1920 Expected:
1921 | <html>
1922 |   <head>
1923 |   <body>
1924
1925 Test 48 of 59 in resources/tests2.dat failed. Input:
1926 <!DOCTYPE html>  <html>
1927 Got:
1928 | <!DOCTYPE html>
1929 | <html>
1930 |   <head>
1931 |   <body>
1932 |     "  "
1933 Expected:
1934 | <!DOCTYPE html>
1935 | <html>
1936 |   <head>
1937 |   <body>
1938
1939 Test 49 of 59 in resources/tests2.dat failed. Input:
1940 <!DOCTYPE html><script>
1941 </script>  <title>x</title>  </head>
1942 Got:
1943 | <!DOCTYPE html>
1944 | <html>
1945 |   <head>
1946 |     <script>
1947 |       "
1948 "
1949 |   <body>
1950 |     "  "
1951 |     <title>
1952 |       "x"
1953 |     "  "
1954 Expected:
1955 | <!DOCTYPE html>
1956 | <html>
1957 |   <head>
1958 |     <script>
1959 |       "
1960 "
1961 |     "  "
1962 |     <title>
1963 |       "x"
1964 |     "  "
1965 |   <body>
1966
1967 Test 51 of 59 in resources/tests2.dat failed. Input:
1968 <!DOCTYPE html>X</body><html id="x">
1969 Got:
1970 | <!DOCTYPE html>
1971 | <html>
1972 |   <head>
1973 |   <body>
1974 |     "X"
1975 Expected:
1976 | <!DOCTYPE html>
1977 | <html>
1978 |   id="x"
1979 |   <head>
1980 |   <body>
1981 |     "X"
1982
1983 Test 53 of 59 in resources/tests2.dat failed. Input:
1984 <!DOCTYPE html>X</html>X
1985 Got:
1986 | <!DOCTYPE html>
1987 | <html>
1988 |   <head>
1989 |   <body>
1990 |     "X"
1991 Expected:
1992 | <!DOCTYPE html>
1993 | <html>
1994 |   <head>
1995 |   <body>
1996 |     "XX"
1997
1998 Test 54 of 59 in resources/tests2.dat failed. Input:
1999 <!DOCTYPE html>X</html> 
2000 Got:
2001 | <!DOCTYPE html>
2002 | <html>
2003 |   <head>
2004 |   <body>
2005 |     "X"
2006 Expected:
2007 | <!DOCTYPE html>
2008 | <html>
2009 |   <head>
2010 |   <body>
2011 |     "X "
2012
2013 Test 55 of 59 in resources/tests2.dat failed. Input:
2014 <!DOCTYPE html>X</html><p>X
2015 Got:
2016 | <!DOCTYPE html>
2017 | <html>
2018 |   <head>
2019 |   <body>
2020 |     "X"
2021 Expected:
2022 | <!DOCTYPE html>
2023 | <html>
2024 |   <head>
2025 |   <body>
2026 |     "X"
2027 |     <p>
2028 |       "X"
2029
2030 Test 58 of 59 in resources/tests2.dat failed. Input:
2031 <!DOCTYPE html><table><tr><td></p></table>
2032 Got:
2033 | <!DOCTYPE html>
2034 | <html>
2035 |   <head>
2036 |   <body>
2037 |     <table>
2038 Expected:
2039 | <!DOCTYPE html>
2040 | <html>
2041 |   <head>
2042 |   <body>
2043 |     <table>
2044 |       <tbody>
2045 |         <tr>
2046 |           <td>
2047 |             <p>
2048 resources/tests3.dat:
2049 1
2050 2
2051 3
2052 16
2053 17
2054 18
2055 19
2056 20
2057 21
2058 22
2059
2060 Test 1 of 23 in resources/tests3.dat failed. Input:
2061 <head></head><style></style>
2062 Got:
2063 | <html>
2064 |   <head>
2065 |   <body>
2066 Expected:
2067 | <html>
2068 |   <head>
2069 |     <style>
2070 |   <body>
2071
2072 Test 2 of 23 in resources/tests3.dat failed. Input:
2073 <head></head><script></script>
2074 Got:
2075 | <html>
2076 |   <head>
2077 |   <body>
2078 Expected:
2079 | <html>
2080 |   <head>
2081 |     <script>
2082 |   <body>
2083
2084 Test 3 of 23 in resources/tests3.dat failed. Input:
2085 <head></head><!-- --><style></style><!-- --><script></script>
2086 Got:
2087 | <html>
2088 |   <head>
2089 |   <!--   -->
2090 |   <!--   -->
2091 |   <body>
2092 Expected:
2093 | <html>
2094 |   <head>
2095 |     <style>
2096 |     <script>
2097 |   <!--   -->
2098 |   <!--   -->
2099 |   <body>
2100
2101 Test 16 of 23 in resources/tests3.dat failed. Input:
2102 <!DOCTYPE html><textarea>
2103 </textarea>
2104 Got:
2105 | <!DOCTYPE html>
2106 | <html>
2107 |   <head>
2108 |   <body>
2109 |     <textarea>
2110 |       "
2111 "
2112 Expected:
2113 | <!DOCTYPE html>
2114 | <html>
2115 |   <head>
2116 |   <body>
2117 |     <textarea>
2118
2119 Test 17 of 23 in resources/tests3.dat failed. Input:
2120 <!DOCTYPE html><textarea>
2121 foo</textarea>
2122 Got:
2123 | <!DOCTYPE html>
2124 | <html>
2125 |   <head>
2126 |   <body>
2127 |     <textarea>
2128 |       "
2129 foo"
2130 Expected:
2131 | <!DOCTYPE html>
2132 | <html>
2133 |   <head>
2134 |   <body>
2135 |     <textarea>
2136 |       "foo"
2137
2138 Test 18 of 23 in resources/tests3.dat failed. Input:
2139 <!DOCTYPE html><textarea>
2140
2141 foo</textarea>
2142 Got:
2143 | <!DOCTYPE html>
2144 | <html>
2145 |   <head>
2146 |   <body>
2147 |     <textarea>
2148 |       "
2149
2150 foo"
2151 Expected:
2152 | <!DOCTYPE html>
2153 | <html>
2154 |   <head>
2155 |   <body>
2156 |     <textarea>
2157 |       "
2158 foo"
2159
2160 Test 19 of 23 in resources/tests3.dat failed. Input:
2161 <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
2162 Got:
2163 | <!DOCTYPE html>
2164 | <html>
2165 |   <head>
2166 |   <body>
2167 |     <ul>
2168 |       <li>
2169 |         <div>
2170 |           <p>
2171 |             <li>
2172 Expected:
2173 | <!DOCTYPE html>
2174 | <html>
2175 |   <head>
2176 |   <body>
2177 |     <ul>
2178 |       <li>
2179 |         <div>
2180 |           <p>
2181 |       <li>
2182
2183 Test 20 of 23 in resources/tests3.dat failed. Input:
2184 <!doctype html><nobr><nobr><nobr>
2185 Got:
2186 | <!DOCTYPE html>
2187 | <html>
2188 |   <head>
2189 |   <body>
2190 |     <nobr>
2191 |       <nobr>
2192 |         <nobr>
2193 |           <nobr>
2194 |             <nobr>
2195 Expected:
2196 | <!DOCTYPE html>
2197 | <html>
2198 |   <head>
2199 |   <body>
2200 |     <nobr>
2201 |     <nobr>
2202 |     <nobr>
2203
2204 Test 21 of 23 in resources/tests3.dat failed. Input:
2205 <!doctype html><nobr><nobr></nobr><nobr>
2206 Got:
2207 | <!DOCTYPE html>
2208 | <html>
2209 |   <head>
2210 |   <body>
2211 |     <nobr>
2212 |       <nobr>
2213 |         <nobr>
2214 |           <nobr>
2215 |             <nobr>
2216 Expected:
2217 | <!DOCTYPE html>
2218 | <html>
2219 |   <head>
2220 |   <body>
2221 |     <nobr>
2222 |     <nobr>
2223 |     <nobr>
2224
2225 Test 22 of 23 in resources/tests3.dat failed. Input:
2226 <!doctype html><html><body><p><table></table></body></html>
2227 Got:
2228 | <!DOCTYPE html>
2229 | <html>
2230 |   <head>
2231 |   <body>
2232 |     <p>
2233 |       <table>
2234 Expected:
2235 | <!DOCTYPE html>
2236 | <html>
2237 |   <head>
2238 |   <body>
2239 |     <p>
2240 |     <table>
2241 resources/tests4.dat:
2242 3
2243 5
2244 6
2245 7
2246
2247 Test 3 of 7 in resources/tests4.dat failed. Input:
2248 textarea content with <em>pseudo</em> <foo>markup
2249 Got:
2250 | "textarea content with "
2251 | <em>
2252 |   "pseudo"
2253 | " "
2254 | <foo>
2255 |   "markup"
2256 Expected:
2257 | "textarea content with <em>pseudo</em> <foo>markup"
2258
2259 Test 5 of 7 in resources/tests4.dat failed. Input:
2260 </plaintext>
2261 Got:
2262
2263 Expected:
2264 | "</plaintext>"
2265
2266 Test 6 of 7 in resources/tests4.dat failed. Input:
2267 setting html's innerHTML
2268 Got:
2269 | "setting html's innerHTML"
2270 Expected:
2271 | <head>
2272 | <body>
2273 |   "setting html's innerHTML"
2274
2275 Test 7 of 7 in resources/tests4.dat failed. Input:
2276 <title>setting head's innerHTML</title>
2277 Got:
2278
2279 Expected:
2280 | <title>
2281 |   "setting head's innerHTML"
2282 resources/tests5.dat:
2283 2
2284 6
2285 7
2286 8
2287 9
2288 11
2289
2290 Test 2 of 16 in resources/tests5.dat failed. Input:
2291 <style> <!-- </style> --> </style>x
2292 Got:
2293 | <html>
2294 |   <head>
2295 |     <style>
2296 |       " <!-- "
2297 |   <body>
2298 |     " --> "
2299 |     "x"
2300 Expected:
2301 | <html>
2302 |   <head>
2303 |     <style>
2304 |       " <!-- "
2305 |     " "
2306 |   <body>
2307 |     "--> x"
2308
2309 Test 6 of 16 in resources/tests5.dat failed. Input:
2310 <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
2311 Got:
2312 | <html>
2313 |   <head>
2314 |   <body>
2315 |     <iframe>
2316 |       " <!--- "
2317 |     "->x"
2318 |     " --> "
2319 |     "x"
2320 Expected:
2321 | <html>
2322 |   <head>
2323 |   <body>
2324 |     <iframe>
2325 |       " <!--- "
2326 |     "->x --> x"
2327
2328 Test 7 of 16 in resources/tests5.dat failed. Input:
2329 <script> <!-- </script> --> </script>x
2330 Got:
2331 | <html>
2332 |   <head>
2333 |     <script>
2334 |       " <!-- "
2335 |   <body>
2336 |     " --> "
2337 |     "x"
2338 Expected:
2339 | <html>
2340 |   <head>
2341 |     <script>
2342 |       " <!-- "
2343 |     " "
2344 |   <body>
2345 |     "--> x"
2346
2347 Test 8 of 16 in resources/tests5.dat failed. Input:
2348 <title> <!-- </title> --> </title>x
2349 Got:
2350 | <html>
2351 |   <head>
2352 |     <title>
2353 |       " <!-- "
2354 |   <body>
2355 |     " --> "
2356 |     "x"
2357 Expected:
2358 | <html>
2359 |   <head>
2360 |     <title>
2361 |       " <!-- "
2362 |     " "
2363 |   <body>
2364 |     "--> x"
2365
2366 Test 9 of 16 in resources/tests5.dat failed. Input:
2367 <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
2368 Got:
2369 | <html>
2370 |   <head>
2371 |   <body>
2372 |     <textarea>
2373 |       " <!--- "
2374 |     "->x"
2375 |     " --> "
2376 |     "x"
2377 Expected:
2378 | <html>
2379 |   <head>
2380 |   <body>
2381 |     <textarea>
2382 |       " <!--- "
2383 |     "->x --> x"
2384
2385 Test 11 of 16 in resources/tests5.dat failed. Input:
2386 <p><xmp></xmp>
2387 Got:
2388 | <html>
2389 |   <head>
2390 |   <body>
2391 |     <p>
2392 |       <xmp>
2393 Expected:
2394 | <html>
2395 |   <head>
2396 |   <body>
2397 |     <p>
2398 |     <xmp>
2399 resources/tests6.dat:
2400 1
2401 8
2402 9
2403 10
2404 11
2405 12
2406 13
2407 14
2408 15
2409 16
2410 17
2411 19
2412 20
2413 22
2414 23
2415 24
2416 26
2417 27
2418 28
2419 30
2420 33
2421 36
2422 37
2423 38
2424 40
2425 41
2426 42
2427 44
2428 45
2429 46
2430 47
2431 48
2432 49
2433 51
2434
2435 Test 1 of 51 in resources/tests6.dat failed. Input:
2436 <!doctype html></head> <head>
2437 Got:
2438 | <!DOCTYPE html>
2439 | <html>
2440 |   <head>
2441 |   <body>
2442 |     " "
2443 Expected:
2444 | <!DOCTYPE html>
2445 | <html>
2446 |   <head>
2447 |   " "
2448 |   <body>
2449
2450 Test 8 of 51 in resources/tests6.dat failed. Input:
2451 <frameset></frameset>
2452 foo
2453 Got:
2454 | <html>
2455 |   <head>
2456 |   <frameset>
2457 Expected:
2458 | <html>
2459 |   <head>
2460 |   <frameset>
2461 |   "
2462 "
2463
2464 Test 9 of 51 in resources/tests6.dat failed. Input:
2465 <frameset></frameset>
2466 <noframes>
2467 Got:
2468 | <html>
2469 |   <head>
2470 |   <frameset>
2471 Expected:
2472 | <html>
2473 |   <head>
2474 |   <frameset>
2475 |   "
2476 "
2477 |   <noframes>
2478
2479 Test 10 of 51 in resources/tests6.dat failed. Input:
2480 <frameset></frameset>
2481 <div>
2482 Got:
2483 | <html>
2484 |   <head>
2485 |   <frameset>
2486 Expected:
2487 | <html>
2488 |   <head>
2489 |   <frameset>
2490 |   "
2491 "
2492
2493 Test 11 of 51 in resources/tests6.dat failed. Input:
2494 <frameset></frameset>
2495 </html>
2496 Got:
2497 | <html>
2498 |   <head>
2499 |   <frameset>
2500 Expected:
2501 | <html>
2502 |   <head>
2503 |   <frameset>
2504 |   "
2505 "
2506
2507 Test 12 of 51 in resources/tests6.dat failed. Input:
2508 <frameset></frameset>
2509 </div>
2510 Got:
2511 | <html>
2512 |   <head>
2513 |   <frameset>
2514 Expected:
2515 | <html>
2516 |   <head>
2517 |   <frameset>
2518 |   "
2519 "
2520
2521 Test 13 of 51 in resources/tests6.dat failed. Input:
2522 <form><form>
2523 Got:
2524 | <html>
2525 |   <head>
2526 |   <body>
2527 |     <form>
2528 |       <form>
2529 Expected:
2530 | <html>
2531 |   <head>
2532 |   <body>
2533 |     <form>
2534
2535 Test 14 of 51 in resources/tests6.dat failed. Input:
2536 <button><button>
2537 Got:
2538 | <html>
2539 |   <head>
2540 |   <body>
2541 |     <button>
2542 |       <button>
2543 Expected:
2544 | <html>
2545 |   <head>
2546 |   <body>
2547 |     <button>
2548 |     <button>
2549
2550 Test 15 of 51 in resources/tests6.dat failed. Input:
2551 <table><tr><td></th>
2552 Got:
2553 | <html>
2554 |   <head>
2555 |   <body>
2556 |     <table>
2557 Expected:
2558 | <html>
2559 |   <head>
2560 |   <body>
2561 |     <table>
2562 |       <tbody>
2563 |         <tr>
2564 |           <td>
2565
2566 Test 16 of 51 in resources/tests6.dat failed. Input:
2567 <table><caption><td>
2568 Got:
2569 | <html>
2570 |   <head>
2571 |   <body>
2572 |     <table>
2573 Expected:
2574 | <html>
2575 |   <head>
2576 |   <body>
2577 |     <table>
2578 |       <caption>
2579 |       <tbody>
2580 |         <tr>
2581 |           <td>
2582
2583 Test 17 of 51 in resources/tests6.dat failed. Input:
2584 <table><caption><div>
2585 Got:
2586 | <html>
2587 |   <head>
2588 |   <body>
2589 |     <table>
2590 Expected:
2591 | <html>
2592 |   <head>
2593 |   <body>
2594 |     <table>
2595 |       <caption>
2596 |         <div>
2597
2598 Test 19 of 51 in resources/tests6.dat failed. Input:
2599 <table><caption><div></caption>
2600 Got:
2601 | <html>
2602 |   <head>
2603 |   <body>
2604 |     <table>
2605 Expected:
2606 | <html>
2607 |   <head>
2608 |   <body>
2609 |     <table>
2610 |       <caption>
2611 |         <div>
2612
2613 Test 20 of 51 in resources/tests6.dat failed. Input:
2614 <table><caption></table>
2615 Got:
2616 | <html>
2617 |   <head>
2618 |   <body>
2619 |     <table>
2620 Expected:
2621 | <html>
2622 |   <head>
2623 |   <body>
2624 |     <table>
2625 |       <caption>
2626
2627 Test 22 of 51 in resources/tests6.dat failed. Input:
2628 <table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr>
2629 Got:
2630 | <html>
2631 |   <head>
2632 |   <body>
2633 |     <table>
2634 Expected:
2635 | <html>
2636 |   <head>
2637 |   <body>
2638 |     <table>
2639 |       <caption>
2640
2641 Test 23 of 51 in resources/tests6.dat failed. Input:
2642 <table><caption><div></div>
2643 Got:
2644 | <html>
2645 |   <head>
2646 |   <body>
2647 |     <table>
2648 Expected:
2649 | <html>
2650 |   <head>
2651 |   <body>
2652 |     <table>
2653 |       <caption>
2654 |         <div>
2655
2656 Test 24 of 51 in resources/tests6.dat failed. Input:
2657 <table><tr><td></body></caption></col></colgroup></html>
2658 Got:
2659 | <html>
2660 |   <head>
2661 |   <body>
2662 |     <table>
2663 Expected:
2664 | <html>
2665 |   <head>
2666 |   <body>
2667 |     <table>
2668 |       <tbody>
2669 |         <tr>
2670 |           <td>
2671
2672 Test 26 of 51 in resources/tests6.dat failed. Input:
2673 <table><colgroup>foo
2674 Got:
2675 | <html>
2676 |   <head>
2677 |   <body>
2678 |     <table>
2679 Expected:
2680 | <html>
2681 |   <head>
2682 |   <body>
2683 |     "foo"
2684 |     <table>
2685 |       <colgroup>
2686
2687 Test 27 of 51 in resources/tests6.dat failed. Input:
2688 foo<col>
2689 Got:
2690
2691 Expected:
2692 | <col>
2693
2694 Test 28 of 51 in resources/tests6.dat failed. Input:
2695 <table><colgroup></col>
2696 Got:
2697 | <html>
2698 |   <head>
2699 |   <body>
2700 |     <table>
2701 Expected:
2702 | <html>
2703 |   <head>
2704 |   <body>
2705 |     <table>
2706 |       <colgroup>
2707
2708 Test 30 of 51 in resources/tests6.dat failed. Input:
2709 </frameset><frame>
2710 Got:
2711
2712 Expected:
2713 | <frame>
2714
2715 Test 33 of 51 in resources/tests6.dat failed. Input:
2716 <table><tr><div>
2717 Got:
2718 | <html>
2719 |   <head>
2720 |   <body>
2721 |     <table>
2722 Expected:
2723 | <html>
2724 |   <head>
2725 |   <body>
2726 |     <div>
2727 |     <table>
2728 |       <tbody>
2729 |         <tr>
2730
2731 Test 36 of 51 in resources/tests6.dat failed. Input:
2732 <table><tr><div><td>
2733 Got:
2734 | <html>
2735 |   <head>
2736 |   <body>
2737 |     <table>
2738 Expected:
2739 | <html>
2740 |   <head>
2741 |   <body>
2742 |     <div>
2743 |     <table>
2744 |       <tbody>
2745 |         <tr>
2746 |           <td>
2747
2748 Test 37 of 51 in resources/tests6.dat failed. Input:
2749 <caption><col><colgroup><tbody><tfoot><thead><tr>
2750 Got:
2751 | <caption>
2752 | <colgroup>
2753 | <tbody>
2754 | <tfoot>
2755 | <thead>
2756 |   <tr>
2757 Expected:
2758 | <tr>
2759
2760 Test 38 of 51 in resources/tests6.dat failed. Input:
2761 <table><tbody></thead>
2762 Got:
2763 | <html>
2764 |   <head>
2765 |   <body>
2766 |     <table>
2767 Expected:
2768 | <html>
2769 |   <head>
2770 |   <body>
2771 |     <table>
2772 |       <tbody>
2773
2774 Test 40 of 51 in resources/tests6.dat failed. Input:
2775 <table><tbody></body></caption></col></colgroup></html></td></th></tr>
2776 Got:
2777 | <html>
2778 |   <head>
2779 |   <body>
2780 |     <table>
2781 Expected:
2782 | <html>
2783 |   <head>
2784 |   <body>
2785 |     <table>
2786 |       <tbody>
2787
2788 Test 41 of 51 in resources/tests6.dat failed. Input:
2789 <table><tbody></div>
2790 Got:
2791 | <html>
2792 |   <head>
2793 |   <body>
2794 |     <table>
2795 Expected:
2796 | <html>
2797 |   <head>
2798 |   <body>
2799 |     <table>
2800 |       <tbody>
2801
2802 Test 42 of 51 in resources/tests6.dat failed. Input:
2803 <table><table>
2804 Got:
2805 | <html>
2806 |   <head>
2807 |   <body>
2808 |     <table>
2809 Expected:
2810 | <html>
2811 |   <head>
2812 |   <body>
2813 |     <table>
2814 |     <table>
2815
2816 Test 44 of 51 in resources/tests6.dat failed. Input:
2817 </table><tr>
2818 Got:
2819 | <tr>
2820 Expected:
2821 | <tbody>
2822 |   <tr>
2823
2824 Test 45 of 51 in resources/tests6.dat failed. Input:
2825 <body></body></html>
2826 Got:
2827
2828 Expected:
2829 | <head>
2830 | <body>
2831
2832 Test 46 of 51 in resources/tests6.dat failed. Input:
2833 <html><frameset></frameset></html> 
2834 Got:
2835 | <html>
2836 |   <head>
2837 |   <frameset>
2838 Expected:
2839 | <html>
2840 |   <head>
2841 |   <frameset>
2842 |   " "
2843
2844 Test 47 of 51 in resources/tests6.dat failed. Input:
2845 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
2846 Got:
2847 | <!DOCTYPE html>
2848 | <html>
2849 |   <head>
2850 |   <body>
2851 Expected:
2852 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
2853 | <html>
2854 |   <head>
2855 |   <body>
2856
2857 Test 48 of 51 in resources/tests6.dat failed. Input:
2858 <param><frameset></frameset>
2859 Got:
2860 | <html>
2861 |   <head>
2862 |   <body>
2863 |     <param>
2864 Expected:
2865 | <html>
2866 |   <head>
2867 |   <frameset>
2868
2869 Test 49 of 51 in resources/tests6.dat failed. Input:
2870 <source><frameset></frameset>
2871 Got:
2872 | <html>
2873 |   <head>
2874 |   <body>
2875 |     <source>
2876 Expected:
2877 | <html>
2878 |   <head>
2879 |   <frameset>
2880
2881 Test 51 of 51 in resources/tests6.dat failed. Input:
2882 </body><frameset></frameset>
2883 Got:
2884 | <html>
2885 |   <head>
2886 |   <body>
2887 Expected:
2888 | <html>
2889 |   <head>
2890 |   <frameset>
2891 resources/tests7.dat:
2892 2
2893 3
2894 4
2895 5
2896 6
2897 7
2898 8
2899 9
2900 10
2901 13
2902 14
2903 15
2904 16
2905 17
2906 18
2907 19
2908 20
2909 21
2910 24
2911 25
2912 26
2913 27
2914 28
2915 29
2916 30
2917
2918 Test 2 of 30 in resources/tests7.dat failed. Input:
2919 <!doctype html><table><title>X</title></table>
2920 Got:
2921 | <!DOCTYPE html>
2922 | <html>
2923 |   <head>
2924 |   <body>
2925 |     <table>
2926 Expected:
2927 | <!DOCTYPE html>
2928 | <html>
2929 |   <head>
2930 |   <body>
2931 |     <title>
2932 |       "X"
2933 |     <table>
2934
2935 Test 3 of 30 in resources/tests7.dat failed. Input:
2936 <!doctype html><head></head><title>X</title>
2937 Got:
2938 | <!DOCTYPE html>
2939 | <html>
2940 |   <head>
2941 |   <body>
2942 |     "X"
2943 Expected:
2944 | <!DOCTYPE html>
2945 | <html>
2946 |   <head>
2947 |     <title>
2948 |       "X"
2949 |   <body>
2950
2951 Test 4 of 30 in resources/tests7.dat failed. Input:
2952 <!doctype html></head><title>X</title>
2953 Got:
2954 | <!DOCTYPE html>
2955 | <html>
2956 |   <head>
2957 |   <body>
2958 |     "X"
2959 Expected:
2960 | <!DOCTYPE html>
2961 | <html>
2962 |   <head>
2963 |     <title>
2964 |       "X"
2965 |   <body>
2966
2967 Test 5 of 30 in resources/tests7.dat failed. Input:
2968 <!doctype html><table><meta></table>
2969 Got:
2970 | <!DOCTYPE html>
2971 | <html>
2972 |   <head>
2973 |   <body>
2974 |     <table>
2975 Expected:
2976 | <!DOCTYPE html>
2977 | <html>
2978 |   <head>
2979 |   <body>
2980 |     <meta>
2981 |     <table>
2982
2983 Test 6 of 30 in resources/tests7.dat failed. Input:
2984 <!doctype html><table>X<tr><td><table> <meta></table></table>
2985 Got:
2986 | <!DOCTYPE html>
2987 | <html>
2988 |   <head>
2989 |   <body>
2990 |     <table>
2991 Expected:
2992 | <!DOCTYPE html>
2993 | <html>
2994 |   <head>
2995 |   <body>
2996 |     "X"
2997 |     <table>
2998 |       <tbody>
2999 |         <tr>
3000 |           <td>
3001 |             <meta>
3002 |             <table>
3003 |               " "
3004
3005 Test 7 of 30 in resources/tests7.dat failed. Input:
3006 <!doctype html><html> <head>
3007 Got:
3008 | <!DOCTYPE html>
3009 | <html>
3010 |   <head>
3011 |   <body>
3012 |     " "
3013 Expected:
3014 | <!DOCTYPE html>
3015 | <html>
3016 |   <head>
3017 |   <body>
3018
3019 Test 8 of 30 in resources/tests7.dat failed. Input:
3020 <!doctype html> <head>
3021 Got:
3022 | <!DOCTYPE html>
3023 | <html>
3024 |   <head>
3025 |   <body>
3026 |     " "
3027 Expected:
3028 | <!DOCTYPE html>
3029 | <html>
3030 |   <head>
3031 |   <body>
3032
3033 Test 9 of 30 in resources/tests7.dat failed. Input:
3034 <!doctype html><table><style> <tr>x </style> </table>
3035 Got:
3036 | <!DOCTYPE html>
3037 | <html>
3038 |   <head>
3039 |   <body>
3040 |     <table>
3041 Expected:
3042 | <!DOCTYPE html>
3043 | <html>
3044 |   <head>
3045 |   <body>
3046 |     <table>
3047 |       <style>
3048 |         " <tr>x "
3049 |       " "
3050
3051 Test 10 of 30 in resources/tests7.dat failed. Input:
3052 <!doctype html><table><TBODY><script> <tr>x </script> </table>
3053 Got:
3054 | <!DOCTYPE html>
3055 | <html>
3056 |   <head>
3057 |   <body>
3058 |     <table>
3059 Expected:
3060 | <!DOCTYPE html>
3061 | <html>
3062 |   <head>
3063 |   <body>
3064 |     <table>
3065 |       <tbody>
3066 |         <script>
3067 |           " <tr>x "
3068 |         " "
3069
3070 Test 13 of 30 in resources/tests7.dat failed. Input:
3071 <!doctype html><select><input>X
3072 Got:
3073 | <!DOCTYPE html>
3074 | <html>
3075 |   <head>
3076 |   <body>
3077 |     <select>
3078 Expected:
3079 | <!DOCTYPE html>
3080 | <html>
3081 |   <head>
3082 |   <body>
3083 |     <select>
3084 |     <input>
3085 |     "X"
3086
3087 Test 14 of 30 in resources/tests7.dat failed. Input:
3088 <!doctype html><select><select>X
3089 Got:
3090 | <!DOCTYPE html>
3091 | <html>
3092 |   <head>
3093 |   <body>
3094 |     <select>
3095 Expected:
3096 | <!DOCTYPE html>
3097 | <html>
3098 |   <head>
3099 |   <body>
3100 |     <select>
3101 |     "X"
3102
3103 Test 15 of 30 in resources/tests7.dat failed. Input:
3104 <!doctype html><table><input type=hidDEN></table>
3105 Got:
3106 | <!DOCTYPE html>
3107 | <html>
3108 |   <head>
3109 |   <body>
3110 |     <table>
3111 Expected:
3112 | <!DOCTYPE html>
3113 | <html>
3114 |   <head>
3115 |   <body>
3116 |     <table>
3117 |       <input>
3118 |         type="hidDEN"
3119
3120 Test 16 of 30 in resources/tests7.dat failed. Input:
3121 <!doctype html><table>X<input type=hidDEN></table>
3122 Got:
3123 | <!DOCTYPE html>
3124 | <html>
3125 |   <head>
3126 |   <body>
3127 |     <table>
3128 Expected:
3129 | <!DOCTYPE html>
3130 | <html>
3131 |   <head>
3132 |   <body>
3133 |     "X"
3134 |     <table>
3135 |       <input>
3136 |         type="hidDEN"
3137
3138 Test 17 of 30 in resources/tests7.dat failed. Input:
3139 <!doctype html><table>  <input type=hidDEN></table>
3140 Got:
3141 | <!DOCTYPE html>
3142 | <html>
3143 |   <head>
3144 |   <body>
3145 |     <table>
3146 Expected:
3147 | <!DOCTYPE html>
3148 | <html>
3149 |   <head>
3150 |   <body>
3151 |     <table>
3152 |       "  "
3153 |       <input>
3154 |         type="hidDEN"
3155
3156 Test 18 of 30 in resources/tests7.dat failed. Input:
3157 <!doctype html><table>  <input type='hidDEN'></table>
3158 Got:
3159 | <!DOCTYPE html>
3160 | <html>
3161 |   <head>
3162 |   <body>
3163 |     <table>
3164 Expected:
3165 | <!DOCTYPE html>
3166 | <html>
3167 |   <head>
3168 |   <body>
3169 |     <table>
3170 |       "  "
3171 |       <input>
3172 |         type="hidDEN"
3173
3174 Test 19 of 30 in resources/tests7.dat failed. Input:
3175 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
3176 Got:
3177 | <!DOCTYPE html>
3178 | <html>
3179 |   <head>
3180 |   <body>
3181 |     <table>
3182 Expected:
3183 | <!DOCTYPE html>
3184 | <html>
3185 |   <head>
3186 |   <body>
3187 |     <input>
3188 |       type=" hidden"
3189 |     <table>
3190 |       <input>
3191 |         type="hidDEN"
3192
3193 Test 20 of 30 in resources/tests7.dat failed. Input:
3194 <!doctype html><table><select>X<tr>
3195 Got:
3196 | <!DOCTYPE html>
3197 | <html>
3198 |   <head>
3199 |   <body>
3200 |     <table>
3201 Expected:
3202 | <!DOCTYPE html>
3203 | <html>
3204 |   <head>
3205 |   <body>
3206 |     <select>
3207 |       "X"
3208 |     <table>
3209 |       <tbody>
3210 |         <tr>
3211
3212 Test 21 of 30 in resources/tests7.dat failed. Input:
3213 <!doctype html><select>X</select>
3214 Got:
3215 | <!DOCTYPE html>
3216 | <html>
3217 |   <head>
3218 |   <body>
3219 |     <select>
3220 Expected:
3221 | <!DOCTYPE html>
3222 | <html>
3223 |   <head>
3224 |   <body>
3225 |     <select>
3226 |       "X"
3227
3228 Test 24 of 30 in resources/tests7.dat failed. Input:
3229 <body>X</body></body>
3230 Got:
3231 | "X"
3232 Expected:
3233 | <head>
3234 | <body>
3235 |   "X"
3236
3237 Test 25 of 30 in resources/tests7.dat failed. Input:
3238 <div><p>a</x> b
3239 Got:
3240 | <html>
3241 |   <head>
3242 |   <body>
3243 |     <div>
3244 |       <p>
3245 |         "a"
3246 |         " b"
3247 Expected:
3248 | <html>
3249 |   <head>
3250 |   <body>
3251 |     <div>
3252 |       <p>
3253 |         "a b"
3254
3255 Test 26 of 30 in resources/tests7.dat failed. Input:
3256 <table><tr><td><code></code> </table>
3257 Got:
3258 | <html>
3259 |   <head>
3260 |   <body>
3261 |     <table>
3262 Expected:
3263 | <html>
3264 |   <head>
3265 |   <body>
3266 |     <table>
3267 |       <tbody>
3268 |         <tr>
3269 |           <td>
3270 |             <code>
3271 |             " "
3272
3273 Test 27 of 30 in resources/tests7.dat failed. Input:
3274 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
3275 Got:
3276 | <html>
3277 |   <head>
3278 |   <body>
3279 |     <table>
3280 Expected:
3281 | <html>
3282 |   <head>
3283 |   <body>
3284 |     <b>
3285 |     <b>
3286 |       "bbb"
3287 |     <table>
3288 |       <tbody>
3289 |         <tr>
3290 |           <td>
3291 |             "aaa"
3292 |     <b>
3293 |       "ccc"
3294
3295 Test 28 of 30 in resources/tests7.dat failed. Input:
3296 A<table><tr> B</tr> B</table>
3297 Got:
3298 | <html>
3299 |   <head>
3300 |   <body>
3301 |     "A"
3302 |     <table>
3303 Expected:
3304 | <html>
3305 |   <head>
3306 |   <body>
3307 |     "A B B"
3308 |     <table>
3309 |       <tbody>
3310 |         <tr>
3311
3312 Test 29 of 30 in resources/tests7.dat failed. Input:
3313 A<table><tr> B</tr> </em>C</table>
3314 Got:
3315 | <html>
3316 |   <head>
3317 |   <body>
3318 |     "A"
3319 |     <table>
3320 Expected:
3321 | <html>
3322 |   <head>
3323 |   <body>
3324 |     "A BC"
3325 |     <table>
3326 |       <tbody>
3327 |         <tr>
3328 |         " "
3329
3330 Test 30 of 30 in resources/tests7.dat failed. Input:
3331 <select><keygen>
3332 Got:
3333 | <html>
3334 |   <head>
3335 |   <body>
3336 |     <select>
3337 Expected:
3338 | <html>
3339 |   <head>
3340 |   <body>
3341 |     <select>
3342 |     <keygen>
3343 resources/tests8.dat:
3344 1
3345 2
3346 3
3347 4
3348 5
3349 6
3350 7
3351 8
3352 9
3353
3354 Test 1 of 9 in resources/tests8.dat failed. Input:
3355 <div>
3356 <div></div>
3357 </span>x
3358 Got:
3359 | <html>
3360 |   <head>
3361 |   <body>
3362 |     <div>
3363 |       "
3364 "
3365 |       <div>
3366 |     "
3367 "
3368 |     "x"
3369 Expected:
3370 | <html>
3371 |   <head>
3372 |   <body>
3373 |     <div>
3374 |       "
3375 "
3376 |       <div>
3377 |       "
3378 x"
3379
3380 Test 2 of 9 in resources/tests8.dat failed. Input:
3381 <div>x<div></div>
3382 </span>x
3383 Got:
3384 | <html>
3385 |   <head>
3386 |   <body>
3387 |     <div>
3388 |       "x"
3389 |       <div>
3390 |     "
3391 "
3392 |     "x"
3393 Expected:
3394 | <html>
3395 |   <head>
3396 |   <body>
3397 |     <div>
3398 |       "x"
3399 |       <div>
3400 |       "
3401 x"
3402
3403 Test 3 of 9 in resources/tests8.dat failed. Input:
3404 <div>x<div></div>x</span>x
3405 Got:
3406 | <html>
3407 |   <head>
3408 |   <body>
3409 |     <div>
3410 |       "x"
3411 |       <div>
3412 |     "x"
3413 |     "x"
3414 Expected:
3415 | <html>
3416 |   <head>
3417 |   <body>
3418 |     <div>
3419 |       "x"
3420 |       <div>
3421 |       "xx"
3422
3423 Test 4 of 9 in resources/tests8.dat failed. Input:
3424 <div>x<div></div>y</span>z
3425 Got:
3426 | <html>
3427 |   <head>
3428 |   <body>
3429 |     <div>
3430 |       "x"
3431 |       <div>
3432 |     "y"
3433 |     "z"
3434 Expected:
3435 | <html>
3436 |   <head>
3437 |   <body>
3438 |     <div>
3439 |       "x"
3440 |       <div>
3441 |       "yz"
3442
3443 Test 5 of 9 in resources/tests8.dat failed. Input:
3444 <table><div>x<div></div>x</span>x
3445 Got:
3446 | <html>
3447 |   <head>
3448 |   <body>
3449 |     <table>
3450 Expected:
3451 | <html>
3452 |   <head>
3453 |   <body>
3454 |     <div>
3455 |       "x"
3456 |       <div>
3457 |       "xx"
3458 |     <table>
3459
3460 Test 6 of 9 in resources/tests8.dat failed. Input:
3461 x<table>x
3462 Got:
3463 | <html>
3464 |   <head>
3465 |   <body>
3466 |     "x"
3467 |     <table>
3468 Expected:
3469 | <html>
3470 |   <head>
3471 |   <body>
3472 |     "xx"
3473 |     <table>
3474
3475 Test 7 of 9 in resources/tests8.dat failed. Input:
3476 x<table><table>x
3477 Got:
3478 | <html>
3479 |   <head>
3480 |   <body>
3481 |     "x"
3482 |     <table>
3483 Expected:
3484 | <html>
3485 |   <head>
3486 |   <body>
3487 |     "x"
3488 |     <table>
3489 |     "x"
3490 |     <table>
3491
3492 Test 8 of 9 in resources/tests8.dat failed. Input:
3493 <b>a<div></div><div></b>y
3494 Got:
3495 | <html>
3496 |   <head>
3497 |   <body>
3498 |     <b>
3499 |       "a"
3500 |       <div>
3501 |       <div>
3502 |         "y"
3503 Expected:
3504 | <html>
3505 |   <head>
3506 |   <body>
3507 |     <b>
3508 |       "a"
3509 |       <div>
3510 |     <div>
3511 |       <b>
3512 |       "y"
3513
3514 Test 9 of 9 in resources/tests8.dat failed. Input:
3515 <a><div><p></a>
3516 Got:
3517 | <html>
3518 |   <head>
3519 |   <body>
3520 |     <a>
3521 |       <div>
3522 |         <p>
3523 Expected:
3524 | <html>
3525 |   <head>
3526 |   <body>
3527 |     <a>
3528 |     <div>
3529 |       <a>
3530 |       <p>
3531 |         <a>
3532 resources/tests9.dat:
3533 1
3534 2
3535 4
3536 5
3537 6
3538 7
3539 8
3540 9
3541 10
3542 11
3543 12
3544 13
3545 14
3546 15
3547 16
3548 17
3549 18
3550 19
3551 22
3552 23
3553 24
3554 25
3555
3556 Test 1 of 25 in resources/tests9.dat failed. Input:
3557 <!DOCTYPE html><math></math>
3558 Got:
3559 | <!DOCTYPE html>
3560 | <html>
3561 |   <head>
3562 |   <body>
3563 |     <math>
3564 Expected:
3565 | <!DOCTYPE html>
3566 | <html>
3567 |   <head>
3568 |   <body>
3569 |     <math math>
3570
3571 Test 2 of 25 in resources/tests9.dat failed. Input:
3572 <!DOCTYPE html><body><math></math>
3573 Got:
3574 | <!DOCTYPE html>
3575 | <html>
3576 |   <head>
3577 |   <body>
3578 |     <math>
3579 Expected:
3580 | <!DOCTYPE html>
3581 | <html>
3582 |   <head>
3583 |   <body>
3584 |     <math math>
3585
3586 Test 4 of 25 in resources/tests9.dat failed. Input:
3587 <!DOCTYPE html><body><select><option><math></math></option></select>
3588 Got:
3589 | <!DOCTYPE html>
3590 | <html>
3591 |   <head>
3592 |   <body>
3593 |     <select>
3594 Expected:
3595 | <!DOCTYPE html>
3596 | <html>
3597 |   <head>
3598 |   <body>
3599 |     <select>
3600 |       <option>
3601
3602 Test 5 of 25 in resources/tests9.dat failed. Input:
3603 <!DOCTYPE html><body><table><math></math></table>
3604 Got:
3605 | <!DOCTYPE html>
3606 | <html>
3607 |   <head>
3608 |   <body>
3609 |     <table>
3610 Expected:
3611 | <!DOCTYPE html>
3612 | <html>
3613 |   <head>
3614 |   <body>
3615 |     <math math>
3616 |     <table>
3617
3618 Test 6 of 25 in resources/tests9.dat failed. Input:
3619 <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
3620 Got:
3621 | <!DOCTYPE html>
3622 | <html>
3623 |   <head>
3624 |   <body>
3625 |     <table>
3626 Expected:
3627 | <!DOCTYPE html>
3628 | <html>
3629 |   <head>
3630 |   <body>
3631 |     <math math>
3632 |       <math mi>
3633 |         "foo"
3634 |     <table>
3635
3636 Test 7 of 25 in resources/tests9.dat failed. Input:
3637 <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
3638 Got:
3639 | <!DOCTYPE html>
3640 | <html>
3641 |   <head>
3642 |   <body>
3643 |     <table>
3644 Expected:
3645 | <!DOCTYPE html>
3646 | <html>
3647 |   <head>
3648 |   <body>
3649 |     <math math>
3650 |       <math mi>
3651 |         "foo"
3652 |       <math mi>
3653 |         "bar"
3654 |     <table>
3655
3656 Test 8 of 25 in resources/tests9.dat failed. Input:
3657 <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
3658 Got:
3659 | <!DOCTYPE html>
3660 | <html>
3661 |   <head>
3662 |   <body>
3663 |     <table>
3664 Expected:
3665 | <!DOCTYPE html>
3666 | <html>
3667 |   <head>
3668 |   <body>
3669 |     <math math>
3670 |       <math mi>
3671 |         "foo"
3672 |       <math mi>
3673 |         "bar"
3674 |     <table>
3675 |       <tbody>
3676
3677 Test 9 of 25 in resources/tests9.dat failed. Input:
3678 <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
3679 Got:
3680 | <!DOCTYPE html>
3681 | <html>
3682 |   <head>
3683 |   <body>
3684 |     <table>
3685 Expected:
3686 | <!DOCTYPE html>
3687 | <html>
3688 |   <head>
3689 |   <body>
3690 |     <math math>
3691 |       <math mi>
3692 |         "foo"
3693 |       <math mi>
3694 |         "bar"
3695 |     <table>
3696 |       <tbody>
3697 |         <tr>
3698
3699 Test 10 of 25 in resources/tests9.dat failed. Input:
3700 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
3701 Got:
3702 | <!DOCTYPE html>
3703 | <html>
3704 |   <head>
3705 |   <body>
3706 |     <table>
3707 Expected:
3708 | <!DOCTYPE html>
3709 | <html>
3710 |   <head>
3711 |   <body>
3712 |     <table>
3713 |       <tbody>
3714 |         <tr>
3715 |           <td>
3716 |             <math math>
3717 |               <math mi>
3718 |                 "foo"
3719 |               <math mi>
3720 |                 "bar"
3721
3722 Test 11 of 25 in resources/tests9.dat failed. Input:
3723 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
3724 Got:
3725 | <!DOCTYPE html>
3726 | <html>
3727 |   <head>
3728 |   <body>
3729 |     <table>
3730 Expected:
3731 | <!DOCTYPE html>
3732 | <html>
3733 |   <head>
3734 |   <body>
3735 |     <table>
3736 |       <tbody>
3737 |         <tr>
3738 |           <td>
3739 |             <math math>
3740 |               <math mi>
3741 |                 "foo"
3742 |               <math mi>