ea1fd7d11063b905e88fa2c6350ab2f9e6e3cc33
[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 |       <p>
1106 |         <a>
1107 |           <a>
1108 |       <div>
1109 |         <a>
1110 Expected:
1111 | <html>
1112 |   <head>
1113 |   <body>
1114 |     <a>
1115 |       <a>
1116 |       <table>
1117 |     <p>
1118 |       <a>
1119 |     <div>
1120 |       <a>
1121
1122 Test 93 of 113 in resources/tests1.dat failed. Input:
1123 <b><table><td><i></table>
1124 Got:
1125 | <html>
1126 |   <head>
1127 |   <body>
1128 |     <b>
1129 |       <table>
1130 |         <tbody>
1131 |           <tr>
1132 |             <td>
1133 Expected:
1134 | <html>
1135 |   <head>
1136 |   <body>
1137 |     <b>
1138 |       <table>
1139 |         <tbody>
1140 |           <tr>
1141 |             <td>
1142 |               <i>
1143
1144 Test 94 of 113 in resources/tests1.dat failed. Input:
1145 <b><table><td></b><i></table>
1146 Got:
1147 | <html>
1148 |   <head>
1149 |   <body>
1150 |     <b>
1151 |       <table>
1152 |         <tbody>
1153 |           <tr>
1154 |             <td>
1155 Expected:
1156 | <html>
1157 |   <head>
1158 |   <body>
1159 |     <b>
1160 |       <table>
1161 |         <tbody>
1162 |           <tr>
1163 |             <td>
1164 |               <i>
1165
1166 Test 95 of 113 in resources/tests1.dat failed. Input:
1167 <h1><h2>
1168 Got:
1169 | <html>
1170 |   <head>
1171 |   <body>
1172 |     <h1>
1173 |       <h2>
1174 Expected:
1175 | <html>
1176 |   <head>
1177 |   <body>
1178 |     <h1>
1179 |     <h2>
1180
1181 Test 96 of 113 in resources/tests1.dat failed. Input:
1182 <a><p><a></a></p></a>
1183 Got:
1184 | <html>
1185 |   <head>
1186 |   <body>
1187 |     <a>
1188 |       <p>
1189 |         <a>
1190 |           <a>
1191 Expected:
1192 | <html>
1193 |   <head>
1194 |   <body>
1195 |     <a>
1196 |     <p>
1197 |       <a>
1198 |       <a>
1199
1200 Test 97 of 113 in resources/tests1.dat failed. Input:
1201 <b><button></b></button></b>
1202 Got:
1203 | <html>
1204 |   <head>
1205 |   <body>
1206 |     <b>
1207 |       <b>
1208 |         <button>
1209 Expected:
1210 | <html>
1211 |   <head>
1212 |   <body>
1213 |     <b>
1214 |       <button>
1215
1216 Test 98 of 113 in resources/tests1.dat failed. Input:
1217 <p><b><div><marquee></p></b></div>
1218 Got:
1219 | <html>
1220 |   <head>
1221 |   <body>
1222 |     <p>
1223 |       <b>
1224 |     <div>
1225 |       <marquee>
1226 Expected:
1227 | <html>
1228 |   <head>
1229 |   <body>
1230 |     <p>
1231 |       <b>
1232 |     <div>
1233 |       <b>
1234 |         <marquee>
1235 |           <p>
1236
1237 Test 100 of 113 in resources/tests1.dat failed. Input:
1238 <p><hr></p>
1239 Got:
1240 | <html>
1241 |   <head>
1242 |   <body>
1243 |     <p>
1244 |     <hr>
1245 Expected:
1246 | <html>
1247 |   <head>
1248 |   <body>
1249 |     <p>
1250 |     <hr>
1251 |     <p>
1252
1253 Test 101 of 113 in resources/tests1.dat failed. Input:
1254 <select><b><option><select><option></b></select>
1255 Got:
1256 | <html>
1257 |   <head>
1258 |   <body>
1259 |     <select>
1260 Expected:
1261 | <html>
1262 |   <head>
1263 |   <body>
1264 |     <select>
1265 |       <option>
1266 |     <option>
1267
1268 Test 103 of 113 in resources/tests1.dat failed. Input:
1269 <a><table><td><a><table></table><a></tr><a></table><a>
1270 Got:
1271 | <html>
1272 |   <head>
1273 |   <body>
1274 |     <a>
1275 |       <table>
1276 |         <tbody>
1277 |           <tr>
1278 |             <td>
1279 Expected:
1280 | <html>
1281 |   <head>
1282 |   <body>
1283 |     <a>
1284 |       <a>
1285 |       <table>
1286 |         <tbody>
1287 |           <tr>
1288 |             <td>
1289 |               <a>
1290 |                 <table>
1291 |               <a>
1292 |     <a>
1293
1294 Test 104 of 113 in resources/tests1.dat failed. Input:
1295 <ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>
1296 Got:
1297 | <html>
1298 |   <head>
1299 |   <body>
1300 |     <ul>
1301 |       <li>
1302 |       <div>
1303 |         <li>
1304 |       <li>
1305 |         <li>
1306 |           <div>
1307 |             <li>
1308 |               <address>
1309 |                 <li>
1310 |                   <b>
1311 |                     <b>
1312 |                       <em>
1313 |                     <li>
1314 Expected:
1315 | <html>
1316 |   <head>
1317 |   <body>
1318 |     <ul>
1319 |       <li>
1320 |       <div>
1321 |         <li>
1322 |       <li>
1323 |       <li>
1324 |         <div>
1325 |       <li>
1326 |         <address>
1327 |       <li>
1328 |         <b>
1329 |           <em>
1330 |       <li>
1331
1332 Test 107 of 113 in resources/tests1.dat failed. Input:
1333 <h1><table><td><h3></table><h3></h1>
1334 Got:
1335 | <html>
1336 |   <head>
1337 |   <body>
1338 |     <h1>
1339 |       <table>
1340 |         <tbody>
1341 |           <tr>
1342 |             <td>
1343 Expected:
1344 | <html>
1345 |   <head>
1346 |   <body>
1347 |     <h1>
1348 |       <table>
1349 |         <tbody>
1350 |           <tr>
1351 |             <td>
1352 |               <h3>
1353 |     <h3>
1354
1355 Test 108 of 113 in resources/tests1.dat failed. Input:
1356 <table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table>
1357 Got:
1358 | <html>
1359 |   <head>
1360 |   <body>
1361 |     <table>
1362 |       <colgroup>
1363 |         <col>
1364 |         <col>
1365 |         <col>
1366 |         <col>
1367 |         <col>
1368 |         <col>
1369 Expected:
1370 | <html>
1371 |   <head>
1372 |   <body>
1373 |     <table>
1374 |       <colgroup>
1375 |         <col>
1376 |       <colgroup>
1377 |         <col>
1378 |         <col>
1379 |         <col>
1380 |       <colgroup>
1381 |         <col>
1382 |         <col>
1383 |       <thead>
1384 |         <tr>
1385 |           <td>
1386
1387 Test 109 of 113 in resources/tests1.dat failed. Input:
1388 <table><col><tbody><col><tr><col><td><col></table><col>
1389 Got:
1390 | <html>
1391 |   <head>
1392 |   <body>
1393 |     <table>
1394 |       <colgroup>
1395 |         <col>
1396 |         <col>
1397 |         <col>
1398 |         <col>
1399 |         <col>
1400 Expected:
1401 | <html>
1402 |   <head>
1403 |   <body>
1404 |     <table>
1405 |       <colgroup>
1406 |         <col>
1407 |       <tbody>
1408 |       <colgroup>
1409 |         <col>
1410 |       <tbody>
1411 |         <tr>
1412 |       <colgroup>
1413 |         <col>
1414 |       <tbody>
1415 |         <tr>
1416 |           <td>
1417 |       <colgroup>
1418 |         <col>
1419
1420 Test 110 of 113 in resources/tests1.dat failed. Input:
1421 <table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>
1422 Got:
1423 | <html>
1424 |   <head>
1425 |   <body>
1426 |     <table>
1427 |       <colgroup>
1428 Expected:
1429 | <html>
1430 |   <head>
1431 |   <body>
1432 |     <table>
1433 |       <colgroup>
1434 |       <tbody>
1435 |       <colgroup>
1436 |       <tbody>
1437 |         <tr>
1438 |       <colgroup>
1439 |       <tbody>
1440 |         <tr>
1441 |           <td>
1442 |       <colgroup>
1443
1444 Test 111 of 113 in resources/tests1.dat failed. Input:
1445 </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 |     <br>
1451 Expected:
1452 | <html>
1453 |   <head>
1454 |   <body>
1455 |     <br>
1456 |     <p>
1457
1458 Test 112 of 113 in resources/tests1.dat failed. Input:
1459 <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>
1460 Got:
1461 | <html>
1462 |   <head>
1463 |   <body>
1464 |     <table>
1465 |       <tbody>
1466 |         <tr>
1467 Expected:
1468 | <html>
1469 |   <head>
1470 |   <body>
1471 |     <br>
1472 |     <table>
1473 |       <tbody>
1474 |         <tr>
1475 |     <p>
1476 resources/tests2.dat:
1477 4
1478 8
1479 9
1480 11
1481 13
1482 32
1483 34
1484 35
1485 36
1486 37
1487 38
1488 42
1489 46
1490 47
1491 48
1492 49
1493 53
1494 54
1495 58
1496
1497 Test 4 of 59 in resources/tests2.dat failed. Input:
1498 <table><td>test</tbody></table>
1499 Got:
1500 | <html>
1501 |   <head>
1502 |   <body>
1503 |     <table>
1504 |       <tbody>
1505 |         <tr>
1506 |           <td>
1507 Expected:
1508 | <html>
1509 |   <head>
1510 |   <body>
1511 |     <table>
1512 |       <tbody>
1513 |         <tr>
1514 |           <td>
1515 |             "test"
1516
1517 Test 8 of 59 in resources/tests2.dat failed. Input:
1518 <!DOCTYPE html><font><p><b>test</font>
1519 Got:
1520 | <!DOCTYPE html>
1521 | <html>
1522 |   <head>
1523 |   <body>
1524 |     <font>
1525 |       <p>
1526 |         <font>
1527 |           <b>
1528 |             "test"
1529 Expected:
1530 | <!DOCTYPE html>
1531 | <html>
1532 |   <head>
1533 |   <body>
1534 |     <font>
1535 |     <p>
1536 |       <font>
1537 |         <b>
1538 |           "test"
1539
1540 Test 9 of 59 in resources/tests2.dat failed. Input:
1541 <!DOCTYPE html><dt><div><dd>
1542 Got:
1543 | <!DOCTYPE html>
1544 | <html>
1545 |   <head>
1546 |   <body>
1547 |     <dt>
1548 |       <div>
1549 |         <dd>
1550 Expected:
1551 | <!DOCTYPE html>
1552 | <html>
1553 |   <head>
1554 |   <body>
1555 |     <dt>
1556 |       <div>
1557 |     <dd>
1558
1559 Test 11 of 59 in resources/tests2.dat failed. Input:
1560 <table><plaintext><td>
1561 Got:
1562 | <html>
1563 |   <head>
1564 |   <body>
1565 |     <table>
1566 |       <tbody>
1567 |         <tr>
1568 |           <td>
1569 Expected:
1570 | <html>
1571 |   <head>
1572 |   <body>
1573 |     <plaintext>
1574 |       "<td>"
1575 |     <table>
1576
1577 Test 13 of 59 in resources/tests2.dat failed. Input:
1578 <!DOCTYPE html><table><tr>TEST
1579 Got:
1580 | <!DOCTYPE html>
1581 | <html>
1582 |   <head>
1583 |   <body>
1584 |     <table>
1585 |       <tbody>
1586 |         <tr>
1587 Expected:
1588 | <!DOCTYPE html>
1589 | <html>
1590 |   <head>
1591 |   <body>
1592 |     "TEST"
1593 |     <table>
1594 |       <tbody>
1595 |         <tr>
1596
1597 Test 32 of 59 in resources/tests2.dat failed. Input:
1598 <!DOCTYPE html>X</body>X
1599 Got:
1600 | <!DOCTYPE html>
1601 | <html>
1602 |   <head>
1603 |   <body>
1604 |     "X"
1605 |     "X"
1606 Expected:
1607 | <!DOCTYPE html>
1608 | <html>
1609 |   <head>
1610 |   <body>
1611 |     "XX"
1612
1613 Test 34 of 59 in resources/tests2.dat failed. Input:
1614 <!DOCTYPE html><table><caption>test TEST</caption><td>test
1615 Got:
1616 | <!DOCTYPE html>
1617 | <html>
1618 |   <head>
1619 |   <body>
1620 |     <table>
1621 |       <caption>
1622 Expected:
1623 | <!DOCTYPE html>
1624 | <html>
1625 |   <head>
1626 |   <body>
1627 |     <table>
1628 |       <caption>
1629 |         "test TEST"
1630 |       <tbody>
1631 |         <tr>
1632 |           <td>
1633 |             "test"
1634
1635 Test 35 of 59 in resources/tests2.dat failed. Input:
1636 <!DOCTYPE html><select><option><optgroup>
1637 Got:
1638 | <!DOCTYPE html>
1639 | <html>
1640 |   <head>
1641 |   <body>
1642 |     <select>
1643 Expected:
1644 | <!DOCTYPE html>
1645 | <html>
1646 |   <head>
1647 |   <body>
1648 |     <select>
1649 |       <option>
1650 |       <optgroup>
1651
1652 Test 36 of 59 in resources/tests2.dat failed. Input:
1653 <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
1654 Got:
1655 | <!DOCTYPE html>
1656 | <html>
1657 |   <head>
1658 |   <body>
1659 |     <select>
1660 Expected:
1661 | <!DOCTYPE html>
1662 | <html>
1663 |   <head>
1664 |   <body>
1665 |     <select>
1666 |       <optgroup>
1667 |         <option>
1668 |       <option>
1669 |     <option>
1670
1671 Test 37 of 59 in resources/tests2.dat failed. Input:
1672 <!DOCTYPE html><select><optgroup><option><optgroup>
1673 Got:
1674 | <!DOCTYPE html>
1675 | <html>
1676 |   <head>
1677 |   <body>
1678 |     <select>
1679 Expected:
1680 | <!DOCTYPE html>
1681 | <html>
1682 |   <head>
1683 |   <body>
1684 |     <select>
1685 |       <optgroup>
1686 |         <option>
1687 |       <optgroup>
1688
1689 Test 38 of 59 in resources/tests2.dat failed. Input:
1690 <!DOCTYPE html><font><input><input></font>
1691 Got:
1692 | <!DOCTYPE html>
1693 | <html>
1694 |   <head>
1695 |   <body>
1696 |     <font>
1697 |       <font>
1698 |         <input>
1699 |         <font>
1700 |           <input>
1701 Expected:
1702 | <!DOCTYPE html>
1703 | <html>
1704 |   <head>
1705 |   <body>
1706 |     <font>
1707 |       <input>
1708 |       <input>
1709
1710 Test 42 of 59 in resources/tests2.dat failed. Input:
1711 <isindex test=x name=x>
1712 Got:
1713 | <html>
1714 |   <head>
1715 |   <body>
1716 Expected:
1717 | <html>
1718 |   <head>
1719 |   <body>
1720 |     <form>
1721 |       <hr>
1722 |       <label>
1723 |         "This is a searchable index. Insert your search keywords here: "
1724 |         <input>
1725 |           name="isindex"
1726 |           test="x"
1727 |       <hr>
1728
1729 Test 46 of 59 in resources/tests2.dat failed. Input:
1730 <!DOCTYPE html><select><optgroup></optgroup></select>
1731 Got:
1732 | <!DOCTYPE html>
1733 | <html>
1734 |   <head>
1735 |   <body>
1736 |     <select>
1737 Expected:
1738 | <!DOCTYPE html>
1739 | <html>
1740 |   <head>
1741 |   <body>
1742 |     <select>
1743 |       <optgroup>
1744
1745 Test 47 of 59 in resources/tests2.dat failed. Input:
1746  
1747  
1748 Got:
1749 | <html>
1750 |   <head>
1751 |   <body>
1752 |     " 
1753  "
1754 Expected:
1755 | <html>
1756 |   <head>
1757 |   <body>
1758
1759 Test 48 of 59 in resources/tests2.dat failed. Input:
1760 <!DOCTYPE html>  <html>
1761 Got:
1762 | <!DOCTYPE html>
1763 | <html>
1764 |   <head>
1765 |   <body>
1766 |     "  "
1767 Expected:
1768 | <!DOCTYPE html>
1769 | <html>
1770 |   <head>
1771 |   <body>
1772
1773 Test 49 of 59 in resources/tests2.dat failed. Input:
1774 <!DOCTYPE html><script>
1775 </script>  <title>x</title>  </head>
1776 Got:
1777 | <!DOCTYPE html>
1778 | <html>
1779 |   <head>
1780 |     <script>
1781 |       "
1782 "
1783 |   <body>
1784 |     "  "
1785 |     <title>
1786 |       "x"
1787 |     "  "
1788 Expected:
1789 | <!DOCTYPE html>
1790 | <html>
1791 |   <head>
1792 |     <script>
1793 |       "
1794 "
1795 |     "  "
1796 |     <title>
1797 |       "x"
1798 |     "  "
1799 |   <body>
1800
1801 Test 53 of 59 in resources/tests2.dat failed. Input:
1802 <!DOCTYPE html>X</html>X
1803 Got:
1804 | <!DOCTYPE html>
1805 | <html>
1806 |   <head>
1807 |   <body>
1808 |     "X"
1809 |     "X"
1810 Expected:
1811 | <!DOCTYPE html>
1812 | <html>
1813 |   <head>
1814 |   <body>
1815 |     "XX"
1816
1817 Test 54 of 59 in resources/tests2.dat failed. Input:
1818 <!DOCTYPE html>X</html> 
1819 Got:
1820 | <!DOCTYPE html>
1821 | <html>
1822 |   <head>
1823 |   <body>
1824 |     "X"
1825 |     " "
1826 Expected:
1827 | <!DOCTYPE html>
1828 | <html>
1829 |   <head>
1830 |   <body>
1831 |     "X "
1832
1833 Test 58 of 59 in resources/tests2.dat failed. Input:
1834 <!DOCTYPE html><table><tr><td></p></table>
1835 Got:
1836 | <!DOCTYPE html>
1837 | <html>
1838 |   <head>
1839 |   <body>
1840 |     <table>
1841 |       <tbody>
1842 |         <tr>
1843 |           <td>
1844 Expected:
1845 | <!DOCTYPE html>
1846 | <html>
1847 |   <head>
1848 |   <body>
1849 |     <table>
1850 |       <tbody>
1851 |         <tr>
1852 |           <td>
1853 |             <p>
1854 resources/tests3.dat:
1855 16
1856 17
1857 18
1858 19
1859 20
1860 21
1861 22
1862
1863 Test 16 of 23 in resources/tests3.dat failed. Input:
1864 <!DOCTYPE html><textarea>
1865 </textarea>
1866 Got:
1867 | <!DOCTYPE html>
1868 | <html>
1869 |   <head>
1870 |   <body>
1871 |     <textarea>
1872 |       "
1873 "
1874 Expected:
1875 | <!DOCTYPE html>
1876 | <html>
1877 |   <head>
1878 |   <body>
1879 |     <textarea>
1880
1881 Test 17 of 23 in resources/tests3.dat failed. Input:
1882 <!DOCTYPE html><textarea>
1883 foo</textarea>
1884 Got:
1885 | <!DOCTYPE html>
1886 | <html>
1887 |   <head>
1888 |   <body>
1889 |     <textarea>
1890 |       "
1891 foo"
1892 Expected:
1893 | <!DOCTYPE html>
1894 | <html>
1895 |   <head>
1896 |   <body>
1897 |     <textarea>
1898 |       "foo"
1899
1900 Test 18 of 23 in resources/tests3.dat failed. Input:
1901 <!DOCTYPE html><textarea>
1902
1903 foo</textarea>
1904 Got:
1905 | <!DOCTYPE html>
1906 | <html>
1907 |   <head>
1908 |   <body>
1909 |     <textarea>
1910 |       "
1911
1912 foo"
1913 Expected:
1914 | <!DOCTYPE html>
1915 | <html>
1916 |   <head>
1917 |   <body>
1918 |     <textarea>
1919 |       "
1920 foo"
1921
1922 Test 19 of 23 in resources/tests3.dat failed. Input:
1923 <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
1924 Got:
1925 | <!DOCTYPE html>
1926 | <html>
1927 |   <head>
1928 |   <body>
1929 |     <ul>
1930 |       <li>
1931 |         <div>
1932 |           <p>
1933 |           <li>
1934 Expected:
1935 | <!DOCTYPE html>
1936 | <html>
1937 |   <head>
1938 |   <body>
1939 |     <ul>
1940 |       <li>
1941 |         <div>
1942 |           <p>
1943 |       <li>
1944
1945 Test 20 of 23 in resources/tests3.dat failed. Input:
1946 <!doctype html><nobr><nobr><nobr>
1947 Got:
1948 | <!DOCTYPE html>
1949 | <html>
1950 |   <head>
1951 |   <body>
1952 |     <nobr>
1953 |       <nobr>
1954 |         <nobr>
1955 |           <nobr>
1956 |             <nobr>
1957 Expected:
1958 | <!DOCTYPE html>
1959 | <html>
1960 |   <head>
1961 |   <body>
1962 |     <nobr>
1963 |     <nobr>
1964 |     <nobr>
1965
1966 Test 21 of 23 in resources/tests3.dat failed. Input:
1967 <!doctype html><nobr><nobr></nobr><nobr>
1968 Got:
1969 | <!DOCTYPE html>
1970 | <html>
1971 |   <head>
1972 |   <body>
1973 |     <nobr>
1974 |       <nobr>
1975 |         <nobr>
1976 |         <nobr>
1977 |           <nobr>
1978 Expected:
1979 | <!DOCTYPE html>
1980 | <html>
1981 |   <head>
1982 |   <body>
1983 |     <nobr>
1984 |     <nobr>
1985 |     <nobr>
1986
1987 Test 22 of 23 in resources/tests3.dat failed. Input:
1988 <!doctype html><html><body><p><table></table></body></html>
1989 Got:
1990 | <!DOCTYPE html>
1991 | <html>
1992 |   <head>
1993 |   <body>
1994 |     <p>
1995 |       <table>
1996 Expected:
1997 | <!DOCTYPE html>
1998 | <html>
1999 |   <head>
2000 |   <body>
2001 |     <p>
2002 |     <table>
2003 resources/tests4.dat:
2004 3
2005 5
2006 6
2007 7
2008
2009 Test 3 of 7 in resources/tests4.dat failed. Input:
2010 textarea content with <em>pseudo</em> <foo>markup
2011 Got:
2012 | "textarea content with "
2013 | <em>
2014 |   "pseudo"
2015 | " "
2016 | <foo>
2017 |   "markup"
2018 Expected:
2019 | "textarea content with <em>pseudo</em> <foo>markup"
2020
2021 Test 5 of 7 in resources/tests4.dat failed. Input:
2022 </plaintext>
2023 Got:
2024
2025 Expected:
2026 | "</plaintext>"
2027
2028 Test 6 of 7 in resources/tests4.dat failed. Input:
2029 setting html's innerHTML
2030 Got:
2031 | "setting html's innerHTML"
2032 Expected:
2033 | <head>
2034 | <body>
2035 |   "setting html's innerHTML"
2036
2037 Test 7 of 7 in resources/tests4.dat failed. Input:
2038 <title>setting head's innerHTML</title>
2039 Got:
2040
2041 Expected:
2042 | <title>
2043 |   "setting head's innerHTML"
2044 resources/tests5.dat:
2045 2
2046 6
2047 7
2048 8
2049 9
2050
2051 Test 2 of 16 in resources/tests5.dat failed. Input:
2052 <style> <!-- </style> --> </style>x
2053 Got:
2054 | <html>
2055 |   <head>
2056 |     <style>
2057 |       " <!-- "
2058 |   <body>
2059 |     " --> "
2060 |     "x"
2061 Expected:
2062 | <html>
2063 |   <head>
2064 |     <style>
2065 |       " <!-- "
2066 |     " "
2067 |   <body>
2068 |     "--> x"
2069
2070 Test 6 of 16 in resources/tests5.dat failed. Input:
2071 <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
2072 Got:
2073 | <html>
2074 |   <head>
2075 |   <body>
2076 |     <iframe>
2077 |       " <!--- "
2078 |     "->x"
2079 |     " --> "
2080 |     "x"
2081 Expected:
2082 | <html>
2083 |   <head>
2084 |   <body>
2085 |     <iframe>
2086 |       " <!--- "
2087 |     "->x --> x"
2088
2089 Test 7 of 16 in resources/tests5.dat failed. Input:
2090 <script> <!-- </script> --> </script>x
2091 Got:
2092 | <html>
2093 |   <head>
2094 |     <script>
2095 |       " <!-- "
2096 |   <body>
2097 |     " --> "
2098 |     "x"
2099 Expected:
2100 | <html>
2101 |   <head>
2102 |     <script>
2103 |       " <!-- "
2104 |     " "
2105 |   <body>
2106 |     "--> x"
2107
2108 Test 8 of 16 in resources/tests5.dat failed. Input:
2109 <title> <!-- </title> --> </title>x
2110 Got:
2111 | <html>
2112 |   <head>
2113 |     <title>
2114 |       " <!-- "
2115 |   <body>
2116 |     " --> "
2117 |     "x"
2118 Expected:
2119 | <html>
2120 |   <head>
2121 |     <title>
2122 |       " <!-- "
2123 |     " "
2124 |   <body>
2125 |     "--> x"
2126
2127 Test 9 of 16 in resources/tests5.dat failed. Input:
2128 <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
2129 Got:
2130 | <html>
2131 |   <head>
2132 |   <body>
2133 |     <textarea>
2134 |       " <!--- "
2135 |     "->x"
2136 |     " --> "
2137 |     "x"
2138 Expected:
2139 | <html>
2140 |   <head>
2141 |   <body>
2142 |     <textarea>
2143 |       " <!--- "
2144 |     "->x --> x"
2145 resources/tests6.dat:
2146 1
2147 8
2148 9
2149 10
2150 11
2151 12
2152 13
2153 14
2154 16
2155 17
2156 19
2157 23
2158 26
2159 27
2160 30
2161 33
2162 36
2163 37
2164 42
2165 44
2166 45
2167 46
2168 47
2169
2170 Test 1 of 51 in resources/tests6.dat failed. Input:
2171 <!doctype html></head> <head>
2172 Got:
2173 | <!DOCTYPE html>
2174 | <html>
2175 |   <head>
2176 |   <body>
2177 |     " "
2178 Expected:
2179 | <!DOCTYPE html>
2180 | <html>
2181 |   <head>
2182 |   " "
2183 |   <body>
2184
2185 Test 8 of 51 in resources/tests6.dat failed. Input:
2186 <frameset></frameset>
2187 foo
2188 Got:
2189 | <html>
2190 |   <head>
2191 |   <frameset>
2192 Expected:
2193 | <html>
2194 |   <head>
2195 |   <frameset>
2196 |   "
2197 "
2198
2199 Test 9 of 51 in resources/tests6.dat failed. Input:
2200 <frameset></frameset>
2201 <noframes>
2202 Got:
2203 | <html>
2204 |   <head>
2205 |   <frameset>
2206 |   <noframes>
2207 Expected:
2208 | <html>
2209 |   <head>
2210 |   <frameset>
2211 |   "
2212 "
2213 |   <noframes>
2214
2215 Test 10 of 51 in resources/tests6.dat failed. Input:
2216 <frameset></frameset>
2217 <div>
2218 Got:
2219 | <html>
2220 |   <head>
2221 |   <frameset>
2222 Expected:
2223 | <html>
2224 |   <head>
2225 |   <frameset>
2226 |   "
2227 "
2228
2229 Test 11 of 51 in resources/tests6.dat failed. Input:
2230 <frameset></frameset>
2231 </html>
2232 Got:
2233 | <html>
2234 |   <head>
2235 |   <frameset>
2236 Expected:
2237 | <html>
2238 |   <head>
2239 |   <frameset>
2240 |   "
2241 "
2242
2243 Test 12 of 51 in resources/tests6.dat failed. Input:
2244 <frameset></frameset>
2245 </div>
2246 Got:
2247 | <html>
2248 |   <head>
2249 |   <frameset>
2250 Expected:
2251 | <html>
2252 |   <head>
2253 |   <frameset>
2254 |   "
2255 "
2256
2257 Test 13 of 51 in resources/tests6.dat failed. Input:
2258 <form><form>
2259 Got:
2260 | <html>
2261 |   <head>
2262 |   <body>
2263 |     <form>
2264 |       <form>
2265 Expected:
2266 | <html>
2267 |   <head>
2268 |   <body>
2269 |     <form>
2270
2271 Test 14 of 51 in resources/tests6.dat failed. Input:
2272 <button><button>
2273 Got:
2274 | <html>
2275 |   <head>
2276 |   <body>
2277 |     <button>
2278 |       <button>
2279 Expected:
2280 | <html>
2281 |   <head>
2282 |   <body>
2283 |     <button>
2284 |     <button>
2285
2286 Test 16 of 51 in resources/tests6.dat failed. Input:
2287 <table><caption><td>
2288 Got:
2289 | <html>
2290 |   <head>
2291 |   <body>
2292 |     <table>
2293 |       <caption>
2294 Expected:
2295 | <html>
2296 |   <head>
2297 |   <body>
2298 |     <table>
2299 |       <caption>
2300 |       <tbody>
2301 |         <tr>
2302 |           <td>
2303
2304 Test 17 of 51 in resources/tests6.dat failed. Input:
2305 <table><caption><div>
2306 Got:
2307 | <html>
2308 |   <head>
2309 |   <body>
2310 |     <table>
2311 |       <caption>
2312 Expected:
2313 | <html>
2314 |   <head>
2315 |   <body>
2316 |     <table>
2317 |       <caption>
2318 |         <div>
2319
2320 Test 19 of 51 in resources/tests6.dat failed. Input:
2321 <table><caption><div></caption>
2322 Got:
2323 | <html>
2324 |   <head>
2325 |   <body>
2326 |     <table>
2327 |       <caption>
2328 Expected:
2329 | <html>
2330 |   <head>
2331 |   <body>
2332 |     <table>
2333 |       <caption>
2334 |         <div>
2335
2336 Test 23 of 51 in resources/tests6.dat failed. Input:
2337 <table><caption><div></div>
2338 Got:
2339 | <html>
2340 |   <head>
2341 |   <body>
2342 |     <table>
2343 |       <caption>
2344 Expected:
2345 | <html>
2346 |   <head>
2347 |   <body>
2348 |     <table>
2349 |       <caption>
2350 |         <div>
2351
2352 Test 26 of 51 in resources/tests6.dat failed. Input:
2353 <table><colgroup>foo
2354 Got:
2355 | <html>
2356 |   <head>
2357 |   <body>
2358 |     <table>
2359 |       <colgroup>
2360 Expected:
2361 | <html>
2362 |   <head>
2363 |   <body>
2364 |     "foo"
2365 |     <table>
2366 |       <colgroup>
2367
2368 Test 27 of 51 in resources/tests6.dat failed. Input:
2369 foo<col>
2370 Got:
2371
2372 Expected:
2373 | <col>
2374
2375 Test 30 of 51 in resources/tests6.dat failed. Input:
2376 </frameset><frame>
2377 Got:
2378
2379 Expected:
2380 | <frame>
2381
2382 Test 33 of 51 in resources/tests6.dat failed. Input:
2383 <table><tr><div>
2384 Got:
2385 | <html>
2386 |   <head>
2387 |   <body>
2388 |     <table>
2389 |       <tbody>
2390 |         <tr>
2391 Expected:
2392 | <html>
2393 |   <head>
2394 |   <body>
2395 |     <div>
2396 |     <table>
2397 |       <tbody>
2398 |         <tr>
2399
2400 Test 36 of 51 in resources/tests6.dat failed. Input:
2401 <table><tr><div><td>
2402 Got:
2403 | <html>
2404 |   <head>
2405 |   <body>
2406 |     <table>
2407 |       <tbody>
2408 |         <tr>
2409 |           <td>
2410 Expected:
2411 | <html>
2412 |   <head>
2413 |   <body>
2414 |     <div>
2415 |     <table>
2416 |       <tbody>
2417 |         <tr>
2418 |           <td>
2419
2420 Test 37 of 51 in resources/tests6.dat failed. Input:
2421 <caption><col><colgroup><tbody><tfoot><thead><tr>
2422 Got:
2423 | <caption>
2424 | <colgroup>
2425 | <tbody>
2426 | <tfoot>
2427 | <thead>
2428 |   <tr>
2429 Expected:
2430 | <tr>
2431
2432 Test 42 of 51 in resources/tests6.dat failed. Input:
2433 <table><table>
2434 Got:
2435 | <html>
2436 |   <head>
2437 |   <body>
2438 |     <table>
2439 Expected:
2440 | <html>
2441 |   <head>
2442 |   <body>
2443 |     <table>
2444 |     <table>
2445
2446 Test 44 of 51 in resources/tests6.dat failed. Input:
2447 </table><tr>
2448 Got:
2449 | <tr>
2450 Expected:
2451 | <tbody>
2452 |   <tr>
2453
2454 Test 45 of 51 in resources/tests6.dat failed. Input:
2455 <body></body></html>
2456 Got:
2457
2458 Expected:
2459 | <head>
2460 | <body>
2461
2462 Test 46 of 51 in resources/tests6.dat failed. Input:
2463 <html><frameset></frameset></html> 
2464 Got:
2465 | <html>
2466 |   <head>
2467 |   <frameset>
2468 Expected:
2469 | <html>
2470 |   <head>
2471 |   <frameset>
2472 |   " "
2473
2474 Test 47 of 51 in resources/tests6.dat failed. Input:
2475 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
2476 Got:
2477 | <!DOCTYPE html>
2478 | <html>
2479 |   <head>
2480 |   <body>
2481 Expected:
2482 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
2483 | <html>
2484 |   <head>
2485 |   <body>
2486 resources/tests7.dat:
2487 2
2488 5
2489 6
2490 7
2491 8
2492 9
2493 10
2494 13
2495 14
2496 15
2497 16
2498 17
2499 18
2500 19
2501 20
2502 21
2503 24
2504 25
2505 26
2506 27
2507 28
2508 29
2509 30
2510
2511 Test 2 of 30 in resources/tests7.dat failed. Input:
2512 <!doctype html><table><title>X</title></table>
2513 Got:
2514 | <!DOCTYPE html>
2515 | <html>
2516 |   <head>
2517 |   <body>
2518 |     <table>
2519 Expected:
2520 | <!DOCTYPE html>
2521 | <html>
2522 |   <head>
2523 |   <body>
2524 |     <title>
2525 |       "X"
2526 |     <table>
2527
2528 Test 5 of 30 in resources/tests7.dat failed. Input:
2529 <!doctype html><table><meta></table>
2530 Got:
2531 | <!DOCTYPE html>
2532 | <html>
2533 |   <head>
2534 |   <body>
2535 |     <table>
2536 Expected:
2537 | <!DOCTYPE html>
2538 | <html>
2539 |   <head>
2540 |   <body>
2541 |     <meta>
2542 |     <table>
2543
2544 Test 6 of 30 in resources/tests7.dat failed. Input:
2545 <!doctype html><table>X<tr><td><table> <meta></table></table>
2546 Got:
2547 | <!DOCTYPE html>
2548 | <html>
2549 |   <head>
2550 |   <body>
2551 |     <table>
2552 |       <tbody>
2553 |         <tr>
2554 |           <td>
2555 Expected:
2556 | <!DOCTYPE html>
2557 | <html>
2558 |   <head>
2559 |   <body>
2560 |     "X"
2561 |     <table>
2562 |       <tbody>
2563 |         <tr>
2564 |           <td>
2565 |             <meta>
2566 |             <table>
2567 |               " "
2568
2569 Test 7 of 30 in resources/tests7.dat failed. Input:
2570 <!doctype html><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 8 of 30 in resources/tests7.dat failed. Input:
2584 <!doctype html> <head>
2585 Got:
2586 | <!DOCTYPE html>
2587 | <html>
2588 |   <head>
2589 |   <body>
2590 |     " "
2591 Expected:
2592 | <!DOCTYPE html>
2593 | <html>
2594 |   <head>
2595 |   <body>
2596
2597 Test 9 of 30 in resources/tests7.dat failed. Input:
2598 <!doctype html><table><style> <tr>x </style> </table>
2599 Got:
2600 | <!DOCTYPE html>
2601 | <html>
2602 |   <head>
2603 |   <body>
2604 |     <table>
2605 |       <style>
2606 |         " <tr>x "
2607 Expected:
2608 | <!DOCTYPE html>
2609 | <html>
2610 |   <head>
2611 |   <body>
2612 |     <table>
2613 |       <style>
2614 |         " <tr>x "
2615 |       " "
2616
2617 Test 10 of 30 in resources/tests7.dat failed. Input:
2618 <!doctype html><table><TBODY><script> <tr>x </script> </table>
2619 Got:
2620 | <!DOCTYPE html>
2621 | <html>
2622 |   <head>
2623 |   <body>
2624 |     <table>
2625 |       <tbody>
2626 |         <tr>
2627 Expected:
2628 | <!DOCTYPE html>
2629 | <html>
2630 |   <head>
2631 |   <body>
2632 |     <table>
2633 |       <tbody>
2634 |         <script>
2635 |           " <tr>x "
2636 |         " "
2637
2638 Test 13 of 30 in resources/tests7.dat failed. Input:
2639 <!doctype html><select><input>X
2640 Got:
2641 | <!DOCTYPE html>
2642 | <html>
2643 |   <head>
2644 |   <body>
2645 |     <select>
2646 Expected:
2647 | <!DOCTYPE html>
2648 | <html>
2649 |   <head>
2650 |   <body>
2651 |     <select>
2652 |     <input>
2653 |     "X"
2654
2655 Test 14 of 30 in resources/tests7.dat failed. Input:
2656 <!doctype html><select><select>X
2657 Got:
2658 | <!DOCTYPE html>
2659 | <html>
2660 |   <head>
2661 |   <body>
2662 |     <select>
2663 Expected:
2664 | <!DOCTYPE html>
2665 | <html>
2666 |   <head>
2667 |   <body>
2668 |     <select>
2669 |     "X"
2670
2671 Test 15 of 30 in resources/tests7.dat failed. Input:
2672 <!doctype html><table><input type=hidDEN></table>
2673 Got:
2674 | <!DOCTYPE html>
2675 | <html>
2676 |   <head>
2677 |   <body>
2678 |     <table>
2679 Expected:
2680 | <!DOCTYPE html>
2681 | <html>
2682 |   <head>
2683 |   <body>
2684 |     <table>
2685 |       <input>
2686 |         type="hidDEN"
2687
2688 Test 16 of 30 in resources/tests7.dat failed. Input:
2689 <!doctype html><table>X<input type=hidDEN></table>
2690 Got:
2691 | <!DOCTYPE html>
2692 | <html>
2693 |   <head>
2694 |   <body>
2695 |     <table>
2696 Expected:
2697 | <!DOCTYPE html>
2698 | <html>
2699 |   <head>
2700 |   <body>
2701 |     "X"
2702 |     <table>
2703 |       <input>
2704 |         type="hidDEN"
2705
2706 Test 17 of 30 in resources/tests7.dat failed. Input:
2707 <!doctype html><table>  <input type=hidDEN></table>
2708 Got:
2709 | <!DOCTYPE html>
2710 | <html>
2711 |   <head>
2712 |   <body>
2713 |     <table>
2714 Expected:
2715 | <!DOCTYPE html>
2716 | <html>
2717 |   <head>
2718 |   <body>
2719 |     <table>
2720 |       "  "
2721 |       <input>
2722 |         type="hidDEN"
2723
2724 Test 18 of 30 in resources/tests7.dat failed. Input:
2725 <!doctype html><table>  <input type='hidDEN'></table>
2726 Got:
2727 | <!DOCTYPE html>
2728 | <html>
2729 |   <head>
2730 |   <body>
2731 |     <table>
2732 Expected:
2733 | <!DOCTYPE html>
2734 | <html>
2735 |   <head>
2736 |   <body>
2737 |     <table>
2738 |       "  "
2739 |       <input>
2740 |         type="hidDEN"
2741
2742 Test 19 of 30 in resources/tests7.dat failed. Input:
2743 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
2744 Got:
2745 | <!DOCTYPE html>
2746 | <html>
2747 |   <head>
2748 |   <body>
2749 |     <table>
2750 Expected:
2751 | <!DOCTYPE html>
2752 | <html>
2753 |   <head>
2754 |   <body>
2755 |     <input>
2756 |       type=" hidden"
2757 |     <table>
2758 |       <input>
2759 |         type="hidDEN"
2760
2761 Test 20 of 30 in resources/tests7.dat failed. Input:
2762 <!doctype html><table><select>X<tr>
2763 Got:
2764 | <!DOCTYPE html>
2765 | <html>
2766 |   <head>
2767 |   <body>
2768 |     <table>
2769 |       <tbody>
2770 |         <tr>
2771 Expected:
2772 | <!DOCTYPE html>
2773 | <html>
2774 |   <head>
2775 |   <body>
2776 |     <select>
2777 |       "X"
2778 |     <table>
2779 |       <tbody>
2780 |         <tr>
2781
2782 Test 21 of 30 in resources/tests7.dat failed. Input:
2783 <!doctype html><select>X</select>
2784 Got:
2785 | <!DOCTYPE html>
2786 | <html>
2787 |   <head>
2788 |   <body>
2789 |     <select>
2790 Expected:
2791 | <!DOCTYPE html>
2792 | <html>
2793 |   <head>
2794 |   <body>
2795 |     <select>
2796 |       "X"
2797
2798 Test 24 of 30 in resources/tests7.dat failed. Input:
2799 <body>X</body></body>
2800 Got:
2801 | "X"
2802 Expected:
2803 | <head>
2804 | <body>
2805 |   "X"
2806
2807 Test 25 of 30 in resources/tests7.dat failed. Input:
2808 <div><p>a</x> b
2809 Got:
2810 | <html>
2811 |   <head>
2812 |   <body>
2813 |     <div>
2814 |       <p>
2815 |         "a"
2816 |         " b"
2817 Expected:
2818 | <html>
2819 |   <head>
2820 |   <body>
2821 |     <div>
2822 |       <p>
2823 |         "a b"
2824
2825 Test 26 of 30 in resources/tests7.dat failed. Input:
2826 <table><tr><td><code></code> </table>
2827 Got:
2828 | <html>
2829 |   <head>
2830 |   <body>
2831 |     <table>
2832 |       <tbody>
2833 |         <tr>
2834 |           <td>
2835 Expected:
2836 | <html>
2837 |   <head>
2838 |   <body>
2839 |     <table>
2840 |       <tbody>
2841 |         <tr>
2842 |           <td>
2843 |             <code>
2844 |             " "
2845
2846 Test 27 of 30 in resources/tests7.dat failed. Input:
2847 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
2848 Got:
2849 | <html>
2850 |   <head>
2851 |   <body>
2852 |     <table>
2853 |       <tbody>
2854 |         <tr>
2855 |           <td>
2856 Expected:
2857 | <html>
2858 |   <head>
2859 |   <body>
2860 |     <b>
2861 |     <b>
2862 |       "bbb"
2863 |     <table>
2864 |       <tbody>
2865 |         <tr>
2866 |           <td>
2867 |             "aaa"
2868 |     <b>
2869 |       "ccc"
2870
2871 Test 28 of 30 in resources/tests7.dat failed. Input:
2872 A<table><tr> B</tr> B</table>
2873 Got:
2874 | <html>
2875 |   <head>
2876 |   <body>
2877 |     "A"
2878 |     <table>
2879 |       <tbody>
2880 |         <tr>
2881 Expected:
2882 | <html>
2883 |   <head>
2884 |   <body>
2885 |     "A B B"
2886 |     <table>
2887 |       <tbody>
2888 |         <tr>
2889
2890 Test 29 of 30 in resources/tests7.dat failed. Input:
2891 A<table><tr> B</tr> </em>C</table>
2892 Got:
2893 | <html>
2894 |   <head>
2895 |   <body>
2896 |     "A"
2897 |     <table>
2898 |       <tbody>
2899 |         <tr>
2900 Expected:
2901 | <html>
2902 |   <head>
2903 |   <body>
2904 |     "A BC"
2905 |     <table>
2906 |       <tbody>
2907 |         <tr>
2908 |         " "
2909
2910 Test 30 of 30 in resources/tests7.dat failed. Input:
2911 <select><keygen>
2912 Got:
2913 | <html>
2914 |   <head>
2915 |   <body>
2916 |     <select>
2917 Expected:
2918 | <html>
2919 |   <head>
2920 |   <body>
2921 |     <select>
2922 |     <keygen>
2923 resources/tests8.dat:
2924 1
2925 2
2926 3
2927 4
2928 5
2929 6
2930 7
2931 8
2932 9
2933
2934 Test 1 of 9 in resources/tests8.dat failed. Input:
2935 <div>
2936 <div></div>
2937 </span>x
2938 Got:
2939 | <html>
2940 |   <head>
2941 |   <body>
2942 |     <div>
2943 |       "
2944 "
2945 |       <div>
2946 |     "
2947 "
2948 |     "x"
2949 Expected:
2950 | <html>
2951 |   <head>
2952 |   <body>
2953 |     <div>
2954 |       "
2955 "
2956 |       <div>
2957 |       "
2958 x"
2959
2960 Test 2 of 9 in resources/tests8.dat failed. Input:
2961 <div>x<div></div>
2962 </span>x
2963 Got:
2964 | <html>
2965 |   <head>
2966 |   <body>
2967 |     <div>
2968 |       "x"
2969 |       <div>
2970 |     "
2971 "
2972 |     "x"
2973 Expected:
2974 | <html>
2975 |   <head>
2976 |   <body>
2977 |     <div>
2978 |       "x"
2979 |       <div>
2980 |       "
2981 x"
2982
2983 Test 3 of 9 in resources/tests8.dat failed. Input:
2984 <div>x<div></div>x</span>x
2985 Got:
2986 | <html>
2987 |   <head>
2988 |   <body>
2989 |     <div>
2990 |       "x"
2991 |       <div>
2992 |     "x"
2993 |     "x"
2994 Expected:
2995 | <html>
2996 |   <head>
2997 |   <body>
2998 |     <div>
2999 |       "x"
3000 |       <div>
3001 |       "xx"
3002
3003 Test 4 of 9 in resources/tests8.dat failed. Input:
3004 <div>x<div></div>y</span>z
3005 Got:
3006 | <html>
3007 |   <head>
3008 |   <body>
3009 |     <div>
3010 |       "x"
3011 |       <div>
3012 |     "y"
3013 |     "z"
3014 Expected:
3015 | <html>
3016 |   <head>
3017 |   <body>
3018 |     <div>
3019 |       "x"
3020 |       <div>
3021 |       "yz"
3022
3023 Test 5 of 9 in resources/tests8.dat failed. Input:
3024 <table><div>x<div></div>x</span>x
3025 Got:
3026 | <html>
3027 |   <head>
3028 |   <body>
3029 |     <table>
3030 Expected:
3031 | <html>
3032 |   <head>
3033 |   <body>
3034 |     <div>
3035 |       "x"
3036 |       <div>
3037 |       "xx"
3038 |     <table>
3039
3040 Test 6 of 9 in resources/tests8.dat failed. Input:
3041 x<table>x
3042 Got:
3043 | <html>
3044 |   <head>
3045 |   <body>
3046 |     "x"
3047 |     <table>
3048 Expected:
3049 | <html>
3050 |   <head>
3051 |   <body>
3052 |     "xx"
3053 |     <table>
3054
3055 Test 7 of 9 in resources/tests8.dat failed. Input:
3056 x<table><table>x
3057 Got:
3058 | <html>
3059 |   <head>
3060 |   <body>
3061 |     "x"
3062 |     <table>
3063 Expected:
3064 | <html>
3065 |   <head>
3066 |   <body>
3067 |     "x"
3068 |     <table>
3069 |     "x"
3070 |     <table>
3071
3072 Test 8 of 9 in resources/tests8.dat failed. Input:
3073 <b>a<div></div><div></b>y
3074 Got:
3075 | <html>
3076 |   <head>
3077 |   <body>
3078 |     <b>
3079 |       "a"
3080 |       <div>
3081 |     <div>
3082 |       <b>
3083 |         "y"
3084 Expected:
3085 | <html>
3086 |   <head>
3087 |   <body>
3088 |     <b>
3089 |       "a"
3090 |       <div>
3091 |     <div>
3092 |       <b>
3093 |       "y"
3094
3095 Test 9 of 9 in resources/tests8.dat failed. Input:
3096 <a><div><p></a>
3097 Got:
3098 | <html>
3099 |   <head>
3100 |   <body>
3101 |     <a>
3102 |     <div>
3103 |       <a>
3104 |         <p>
3105 Expected:
3106 | <html>
3107 |   <head>
3108 |   <body>
3109 |     <a>
3110 |     <div>
3111 |       <a>
3112 |       <p>
3113 |         <a>
3114 resources/tests9.dat:
3115 1
3116 2
3117 4
3118 5
3119 6
3120 7
3121 8
3122 9
3123 10
3124 11
3125 12
3126 13
3127 14
3128 15
3129 16
3130 17
3131 18
3132 19
3133 22
3134 23
3135 24
3136 25
3137
3138 Test 1 of 25 in resources/tests9.dat failed. Input:
3139 <!DOCTYPE html><math></math>
3140 Got:
3141 | <!DOCTYPE html>
3142 | <html>
3143 |   <head>
3144 |   <body>
3145 |     <math>
3146 Expected:
3147 | <!DOCTYPE html>
3148 | <html>
3149 |   <head>
3150 |   <body>
3151 |     <math math>
3152
3153 Test 2 of 25 in resources/tests9.dat failed. Input:
3154 <!DOCTYPE html><body><math></math>
3155 Got:
3156 | <!DOCTYPE html>
3157 | <html>
3158 |   <head>
3159 |   <body>
3160 |     <math>
3161 Expected:
3162 | <!DOCTYPE html>
3163 | <html>
3164 |   <head>
3165 |   <body>
3166 |     <math math>
3167
3168 Test 4 of 25 in resources/tests9.dat failed. Input:
3169 <!DOCTYPE html><body><select><option><math></math></option></select>
3170 Got:
3171 | <!DOCTYPE html>
3172 | <html>
3173 |   <head>
3174 |   <body>
3175 |     <select>
3176 Expected:
3177 | <!DOCTYPE html>
3178 | <html>
3179 |   <head>
3180 |   <body>
3181 |     <select>
3182 |       <option>
3183
3184 Test 5 of 25 in resources/tests9.dat failed. Input:
3185 <!DOCTYPE html><body><table><math></math></table>
3186 Got:
3187 | <!DOCTYPE html>
3188 | <html>
3189 |   <head>
3190 |   <body>
3191 |     <table>
3192 Expected:
3193 | <!DOCTYPE html>
3194 | <html>
3195 |   <head>
3196 |   <body>
3197 |     <math math>
3198 |     <table>
3199
3200 Test 6 of 25 in resources/tests9.dat failed. Input:
3201 <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
3202 Got:
3203 | <!DOCTYPE html>
3204 | <html>
3205 |   <head>
3206 |   <body>
3207 |     <table>
3208 Expected:
3209 | <!DOCTYPE html>
3210 | <html>
3211 |   <head>
3212 |   <body>
3213 |     <math math>
3214 |       <math mi>
3215 |         "foo"
3216 |     <table>
3217
3218 Test 7 of 25 in resources/tests9.dat failed. Input:
3219 <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
3220 Got:
3221 | <!DOCTYPE html>
3222 | <html>
3223 |   <head>
3224 |   <body>
3225 |     <table>
3226 Expected:
3227 | <!DOCTYPE html>
3228 | <html>
3229 |   <head>
3230 |   <body>
3231 |     <math math>
3232 |       <math mi>
3233 |         "foo"
3234 |       <math mi>
3235 |         "bar"
3236 |     <table>
3237
3238 Test 8 of 25 in resources/tests9.dat failed. Input:
3239 <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
3240 Got:
3241 | <!DOCTYPE html>
3242 | <html>
3243 |   <head>
3244 |   <body>
3245 |     <table>
3246 |       <tbody>
3247 Expected:
3248 | <!DOCTYPE html>
3249 | <html>
3250 |   <head>
3251 |   <body>
3252 |     <math math>
3253 |       <math mi>
3254 |         "foo"
3255 |       <math mi>
3256 |         "bar"
3257 |     <table>
3258 |       <tbody>
3259
3260 Test 9 of 25 in resources/tests9.dat failed. Input:
3261 <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
3262 Got:
3263 | <!DOCTYPE html>
3264 | <html>
3265 |   <head>
3266 |   <body>
3267 |     <table>
3268 |       <tbody>
3269 |         <tr>
3270 Expected:
3271 | <!DOCTYPE html>
3272 | <html>
3273 |   <head>
3274 |   <body>
3275 |     <math math>
3276 |       <math mi>
3277 |         "foo"
3278 |       <math mi>
3279 |         "bar"
3280 |     <table>
3281 |       <tbody>
3282 |         <tr>
3283
3284 Test 10 of 25 in resources/tests9.dat failed. Input:
3285 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
3286 Got:
3287 | <!DOCTYPE html>
3288 | <html>
3289 |   <head>
3290 |   <body>
3291 |     <table>
3292 |       <tbody>
3293 |         <tr>
3294 |           <td>
3295 Expected:
3296 | <!DOCTYPE html>
3297 | <html>
3298 |   <head>
3299 |   <body>
3300 |     <table>
3301 |       <tbody>
3302 |         <tr>
3303 |           <td>
3304 |             <math math>
3305 |               <math mi>
3306 |                 "foo"
3307 |               <math mi>
3308 |                 "bar"
3309
3310 Test 11 of 25 in resources/tests9.dat failed. Input:
3311 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
3312 Got:
3313 | <!DOCTYPE html>
3314 | <html>
3315 |   <head>
3316 |   <body>
3317 |     <table>
3318 |       <tbody>
3319 |         <tr>
3320 |           <td>
3321 Expected:
3322 | <!DOCTYPE html>
3323 | <html>
3324 |   <head>
3325 |   <body>
3326 |     <table>
3327 |       <tbody>
3328 |         <tr>
3329 |           <td>
3330 |             <math math>
3331 |               <math mi>
3332 |                 "foo"
3333 |               <math mi>
3334 |                 "bar"
3335 |             <p>
3336 |               "baz"
3337
3338 Test 12 of 25 in resources/tests9.dat failed. Input:
3339 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>
3340 Got:
3341 | <!DOCTYPE html>
3342 | <html>
3343 |   <head>
3344 |   <body>
3345 |     <table>
3346 |       <caption>
3347 Expected:
3348 | <!DOCTYPE html>
3349 | <html>
3350 |   <head>
3351 |   <body>
3352 |     <table>
3353 |       <caption>
3354 |         <math math>
3355 |           <math mi>
3356 |             "foo"
3357 |           <math mi>
3358 |             "bar"
3359 |         <p>
3360 |           "baz"
3361
3362 Test 13 of 25 in resources/tests9.dat failed. Input:
3363 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3364 Got:
3365 | <!DOCTYPE html>
3366 | <html>
3367 |   <head>
3368 |   <body>
3369 |     <table>
3370 |       <caption>
3371 Expected:
3372 | <!DOCTYPE html>
3373 | <html>
3374 |   <head>
3375 |   <body>
3376 |     <table>
3377 |       <caption>
3378 |         <math math>
3379 |           <math mi>
3380 |             "foo"
3381 |           <math mi>
3382 |             "bar"
3383 |         <p>
3384 |           "baz"
3385 |     <p>
3386 |       "quux"
3387
3388 Test 14 of 25 in resources/tests9.dat failed. Input:
3389 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
3390 Got:
3391 | <!DOCTYPE html>
3392 | <html>
3393 |   <head>
3394 |   <body>
3395 |     <table>
3396 |       <caption>
3397 Expected:
3398 | <!DOCTYPE html>
3399 | <html>
3400 |   <head>
3401 |   <body>
3402 |     <table>
3403 |       <caption>
3404 |         <math math>
3405 |           <math mi>
3406 |             "foo"
3407 |           <math mi>
3408 |             "bar"
3409 |           "baz"
3410 |     <p>
3411 |       "quux"
3412
3413 Test 15 of 25 in resources/tests9.dat failed. Input:
3414 <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3415 Got:
3416 | <!DOCTYPE html>
3417 | <html>
3418 |   <head>
3419 |   <body>
3420 |     <table>
3421 |       <colgroup>
3422 Expected:
3423 | <!DOCTYPE html>
3424 | <html>
3425 |   <head>
3426 |   <body>
3427 |     <math math>
3428 |       <math mi>
3429 |         "foo"
3430 |       <math mi>
3431 |         "bar"
3432 |     <p>
3433 |       "baz"
3434 |     <table>
3435 |       <colgroup>
3436 |     <p>
3437 |       "quux"
3438
3439 Test 16 of 25 in resources/tests9.dat failed. Input:
3440 <!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3441 Got:
3442 | <!DOCTYPE html>
3443 | <html>
3444 |   <head>
3445 |   <body>
3446 |     <table>
3447 |       <tbody>
3448 |         <tr>
3449 |           <td>
3450 Expected:
3451 | <!DOCTYPE html>
3452 | <html>
3453 |   <head>
3454 |   <body>
3455 |     <table>
3456 |       <tbody>
3457 |         <tr>
3458 |           <td>
3459 |             <select>
3460 |               "foobarbaz"
3461 |     <p>
3462 |       "quux"
3463
3464 Test 17 of 25 in resources/tests9.dat failed. Input:
3465 <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
3466 Got:
3467 | <!DOCTYPE html>
3468 | <html>
3469 |   <head>
3470 |   <body>
3471 |     <table>
3472 |     <p>
3473 |       "quux"
3474 Expected:
3475 | <!DOCTYPE html>
3476 | <html>
3477 |   <head>
3478 |   <body>
3479 |     <select>
3480 |       "foobarbaz"
3481 |     <table>
3482 |     <p>
3483 |       "quux"
3484
3485 Test 18 of 25 in resources/tests9.dat failed. Input:
3486 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
3487 Got:
3488 | <!DOCTYPE html>
3489 | <html>
3490 |   <head>
3491 |   <body>
3492 |     <math>
3493 |       <mi>
3494 |         "foo"
3495 |       <mi>
3496 |         "bar"
3497 |       <p>
3498 |         "baz"
3499 Expected:
3500 | <!DOCTYPE html>
3501 | <html>
3502 |   <head>
3503 |   <body>
3504 |     <math math>
3505 |       <math mi>
3506 |         "foo"
3507 |       <math mi>
3508 |         "bar"
3509 |     <p>
3510 |       "baz"
3511
3512 Test 19 of 25 in resources/tests9.dat failed. Input:
3513 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
3514 Got:
3515 | <!DOCTYPE html>
3516 | <html>
3517 |   <head>
3518 |   <body>
3519 |     <math>
3520 |       <mi>
3521 |         "foo"
3522 |       <mi>
3523 |         "bar"
3524 |       <p>
3525 |         "baz"
3526 Expected:
3527 | <!DOCTYPE html>
3528 | <html>
3529 |   <head>
3530 |   <body>
3531 |     <math math>
3532 |       <math mi>
3533 |         "foo"
3534 |       <math mi>
3535 |         "bar"
3536 |     <p>
3537 |       "baz"
3538
3539 Test 22 of 25 in resources/tests9.dat failed. Input:
3540 <!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>
3541 Got:
3542 | <!DOCTYPE html>
3543 | <html>
3544 |   <head>
3545 |   <body>
3546 |     xlink:href="foo"
3547 |     <math>
3548 |       xlink:href="foo"
3549 Expected:
3550 | <!DOCTYPE html>
3551 | <html>
3552 |   <head>
3553 |   <body>
3554 |     xlink:href="foo"
3555 |     <math math>
3556 |       xlink href="foo"
3557
3558 Test 23 of 25 in resources/tests9.dat failed. Input:
3559 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>
3560 Got:
3561 | <!DOCTYPE html>
3562 | <html>
3563 |   <head>
3564 |   <body>
3565 |     xlink:href="foo"
3566 |     xml:lang="en"
3567 |     <math>
3568 |       <mi>
3569 |         xlink:href="foo"
3570 |         xml:lang="en"
3571 Expected:
3572 | <!DOCTYPE html>
3573 | <html>
3574 |   <head>
3575 |   <body>
3576 |     xlink:href="foo"
3577 |     xml:lang="en"
3578 |     <math math>
3579 |       <math mi>
3580 |         xlink href="foo"
3581 |         xml lang="en"
3582
3583 Test 24 of 25 in resources/tests9.dat failed. Input:
3584 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>
3585 Got:
3586 | <!DOCTYPE html>
3587 | <html>
3588 |   <head>
3589 |   <body>
3590 |     xlink:href="foo"
3591 |     xml:lang="en"
3592 |     <math>
3593 |       <mi>
3594 |         xlink:href="foo"
3595 |         xml:lang="en"
3596 Expected:
3597 | <!DOCTYPE html>
3598 | <html>
3599 |   <head>
3600 |   <body>
3601 |     xlink:href="foo"
3602 |     xml:lang="en"
3603 |     <math math>
3604 |       <math mi>
3605 |         xlink href="foo"
3606 |         xml lang="en"
3607
3608 Test 25 of 25 in resources/tests9.dat failed. Input:
3609 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>
3610 Got:
3611 | <!DOCTYPE html>
3612 | <html>
3613 |   <head>
3614 |   <body>
3615 |     xlink:href="foo"
3616 |     xml:lang="en"
3617 |     <math>
3618 |       <mi>
3619 |         xlink:href="foo"
3620 |         xml:lang="en"
3621 |         "bar"
3622 Expected:
3623 | <!DOCTYPE html>
3624 | <html>
3625 |   <head>
3626 |   <body>
3627 |     xlink:href="foo"
3628 |     xml:lang="en"
3629 |     <math math>
3630 |       <math mi>
3631 |         xlink href="foo"
3632 |         xml lang="en"
3633 |       "bar"
3634 resources/tests10.dat:
3635 1
3636 2
3637 4
3638 5
3639 6
3640 7
3641 8
3642 9
3643 10
3644 11
3645 12
3646 13
3647 14
3648 15
3649 16
3650 17
3651 18
3652 19
3653 22
3654 23
3655 24
3656 25
3657
3658 Test 1 of 25 in resources/tests10.dat failed. Input:
3659 <!DOCTYPE html><svg></svg>
3660 Got:
3661 | <!DOCTYPE html>
3662 | <html>
3663 |   <head>
3664 |   <body>
3665 |     <svg>
3666 Expected:
3667 | <!DOCTYPE html>
3668 | <html>
3669 |   <head>
3670 |   <body>
3671 |     <svg svg>
3672
3673 Test 2 of 25 in resources/tests10.dat failed. Input:
3674 <!DOCTYPE html><body><svg></svg>
3675 Got:
3676 | <!DOCTYPE html>
3677 | <html>
3678 |   <head>
3679 |   <body>
3680 |     <svg>
3681 Expected:
3682 | <!DOCTYPE html>
3683 | <html>
3684 |   <head>
3685 |   <body>
3686 |     <svg svg>
3687
3688 Test 4 of 25 in resources/tests10.dat failed. Input:
3689 <!DOCTYPE html><body><select><option><svg></svg></option></select>
3690 Got:
3691 | <!DOCTYPE html>
3692 | <html>
3693 |   <head>
3694 |   <body>
3695 |     <select>
3696 Expected:
3697 | <!DOCTYPE html>
3698 | <html>
3699 |   <head>
3700 |   <body>
3701 |     <select>
3702 |       <option>
3703
3704 Test 5 of 25 in resources/tests10.dat failed. Input:
3705 <!DOCTYPE html><body><table><svg></svg></table>
3706 Got:
3707 | <!DOCTYPE html>
3708 | <html>
3709 |   <head>
3710 |   <body>
3711 |     <table>
3712 Expected:
3713 | <!DOCTYPE html>
3714 | <html>
3715 |   <head>