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