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